Changed CSV report to include study group session data
This commit is contained in:
@@ -245,6 +245,7 @@ function booking_manual_email()
|
||||
'amount_reqd' => array('data' => t('Gross Payment Required')),
|
||||
'booking_status' => t('Status'),
|
||||
'booking_fully_paid' => t('Fully Paid?'),
|
||||
'welfare_required' => t('Welfare Required?'),
|
||||
);
|
||||
|
||||
$result = db_query("SELECT * FROM {booking_person} WHERE booking_event_id = :eid",
|
||||
@@ -260,6 +261,7 @@ function booking_manual_email()
|
||||
'amount_reqd' => $data->booking_total_pay_reqd,
|
||||
'booking_status' => _booking_status_generate($data->booking_status),
|
||||
'booking_fully_paid' => $data->booking_amount_paid < $data->booking_total_pay_reqd ? 'No' : 'Yes',
|
||||
'welfare_required' => $data->booking_welfare_required == 'Y' ? 'Yes' : 'No',
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user