comment cleanup

This commit is contained in:
2016-04-19 09:45:29 +10:00
parent ad9e972c26
commit 7ebaecd6d0

View File

@@ -30,19 +30,6 @@ function booking_manual_email()
'#default_value' => '',
'#options' => $email_options_array,
);
/*
$header = array (
'booking_nid' => array('data' => t('Booking ID')),
'booking_name' => array('data' => t('Name')),
'booking_email' => array('data' => t('Email Address')),
'amount_paid' => array('data' => t('Amount Paid To Date')),
'amount_reqd' => array('data' => t('Gross Payment Required')),
'booking_status' => t('Status'),
'booking_fully_paid' => t('Fully Paid?'),
'welfare_required' => t('Welfare Required?'),
);
*/
$header = array(
'booking_nid' => array('data' => t('Id'), 'field' => 'nid', 'sort' => 'asc'),
@@ -80,10 +67,7 @@ function booking_manual_email()
->condition('p.booking_event_id', $event->eid, '=');
$table_sort = $query->extend('TableSort')->orderbyHeader($header);
$result = $table_sort->execute();
//$result = db_query("SELECT * FROM {booking_person} WHERE booking_event_id = :eid",
// array(':eid' => $event->eid));
$result = $table_sort->execute();
foreach($result as $data)
{