comment cleanup
This commit is contained in:
@@ -30,19 +30,6 @@ function booking_manual_email()
|
|||||||
'#default_value' => '',
|
'#default_value' => '',
|
||||||
'#options' => $email_options_array,
|
'#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(
|
$header = array(
|
||||||
'booking_nid' => array('data' => t('Id'), 'field' => 'nid', 'sort' => 'asc'),
|
'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, '=');
|
->condition('p.booking_event_id', $event->eid, '=');
|
||||||
|
|
||||||
$table_sort = $query->extend('TableSort')->orderbyHeader($header);
|
$table_sort = $query->extend('TableSort')->orderbyHeader($header);
|
||||||
$result = $table_sort->execute();
|
$result = $table_sort->execute();
|
||||||
|
|
||||||
//$result = db_query("SELECT * FROM {booking_person} WHERE booking_event_id = :eid",
|
|
||||||
// array(':eid' => $event->eid));
|
|
||||||
|
|
||||||
foreach($result as $data)
|
foreach($result as $data)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user