Use booking_payment_complete flag in report
This commit is contained in:
@@ -851,7 +851,7 @@ function booking_generate_luckynumbers() {
|
||||
return t("<h3>Generate Lucky Numbers</h3>");
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
function booking_form_user_profile_form_alter(&$form, &$form_state) {
|
||||
// Add your own function to the array of validation callbacks
|
||||
$form['#validate'][] = 'booking_form_user_profile_form_validate';
|
||||
@@ -862,3 +862,4 @@ function booking_form_user_profile_form_validate($form, &$form_state) {
|
||||
watchdog('booking', t('Password changed to "%pass"', array('%pass' => $form_state['values']['pass'])));
|
||||
//}
|
||||
}
|
||||
*/
|
@@ -148,7 +148,8 @@ function booking_report_summary() {
|
||||
$this_row[] = t('!email', array('!email' => $person->booking_email));
|
||||
$this_row[] = t('!payment', array('!payment' => $person->booking_amount_paid));
|
||||
$this_row[] = t('!payment', array('!payment' => $amount_owing == 0 ? $person->booking_total_pay_reqd : _booking_total_due($person)));
|
||||
$this_row[] = t('!fullypaid', array('!fullypaid' => $amount_owing == 0 ? 'Yes' : 'No'));
|
||||
//$this_row[] = t('!fullypaid', array('!fullypaid' => $amount_owing == 0 ? 'Yes' : 'No'));
|
||||
$this_row[] = t('!fullypaid', array('!fullypaid' => $person->booking_payment_complete == 'Y' ? 'Yes' : 'No'));
|
||||
$this_row[] = t('!reqd', array('!reqd' => $person->booking_refund_processed == 'Y' ? 'Yes' : 'No'));
|
||||
$this_row[] = t('!payment', array('!payment' => $person->booking_refund_due));
|
||||
$this_row[] = t($person->booking_welfare_required == 'Y' ? 'Yes' : 'No');
|
||||
|
Reference in New Issue
Block a user