From 30f6a67954f9b79ccc08bc5d0d151b53ff8e6117 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 12:37:40 +1000 Subject: [PATCH] workaround attempt --- booking.emails.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/booking.emails.inc b/booking.emails.inc index 66a5049..94e97e0 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -181,8 +181,6 @@ function _booking_manual_email_generate_options() { { $group_text = ""; $class = $data->booking_welfare_required == 'Y' ? "welfare-row" : "normal-row"; - //$paid = _booking_amount_owing($data); - //$paid = _booking_amount_owing($data->nid); $options[$data->nid] = array ( 'booking_nid' => l(t('!id', array('!id' => $data->nid)), t('node/!id', array('!id' => $data->nid))), 'booking_name' => $data->booking_firstname . " " . $data->booking_lastname, @@ -262,11 +260,12 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) '#empty' => t('No attendees found.'), '#attributes' => array('id' => 'sort-table'), '#prefix' => '
', - '#suffix' => '
', + '#suffix' => '', + '#value' => t('test'), ); watchdog('booking_debug', "
Manual email new form table\n@info
", array('@info' => print_r( $form['table'], true))); //$form['table']['#default_value'] = $new_default_values; - //$form['table'] = form_process_tableselect($form['table']); + $form['table'] = form_process_tableselect($form['table']); return $form['table'];