add highlighting to manual email page for welfare cases
This commit is contained in:
@@ -17,6 +17,7 @@ function booking_manual_email()
|
|||||||
$email_options_array['travelrequired'] = 'Travel Form Required Email';
|
$email_options_array['travelrequired'] = 'Travel Form Required Email';
|
||||||
$email_options_array['travelcomplete'] = 'Travel Form Complete Email';
|
$email_options_array['travelcomplete'] = 'Travel Form Complete Email';
|
||||||
|
|
||||||
|
|
||||||
//add in the custom email types
|
//add in the custom email types
|
||||||
for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++)
|
for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++)
|
||||||
{
|
{
|
||||||
@@ -72,6 +73,7 @@ function booking_manual_email()
|
|||||||
foreach($result as $data)
|
foreach($result as $data)
|
||||||
{
|
{
|
||||||
$group_text = "";
|
$group_text = "";
|
||||||
|
$class = $data->booking_welfare_required == 'Y' ? "normal-row" : "reserveleader-row";
|
||||||
//$paid = _booking_amount_owing($data);
|
//$paid = _booking_amount_owing($data);
|
||||||
//$paid = _booking_amount_owing($data->nid);
|
//$paid = _booking_amount_owing($data->nid);
|
||||||
$options[$data->nid] = array (
|
$options[$data->nid] = array (
|
||||||
@@ -86,6 +88,7 @@ function booking_manual_email()
|
|||||||
'booking_fully_paid' => $data->booking_payment_complete == 'Y' ? 'Yes' : 'No',
|
'booking_fully_paid' => $data->booking_payment_complete == 'Y' ? 'Yes' : 'No',
|
||||||
'welfare_required' => $data->booking_welfare_required == 'Y' ? 'Yes' : 'No',
|
'welfare_required' => $data->booking_welfare_required == 'Y' ? 'Yes' : 'No',
|
||||||
'travel_form' => $data->tid > 0 ? 'Yes' : 'No',
|
'travel_form' => $data->tid > 0 ? 'Yes' : 'No',
|
||||||
|
'#attributes' => array('id' => array($class)),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (variable_get('booking_enable_studygroups', 0) == 1)
|
if (variable_get('booking_enable_studygroups', 0) == 1)
|
||||||
|
@@ -166,7 +166,7 @@ function booking_available_leadhelp_select_form($node, &$form_state, $group_id)
|
|||||||
),
|
),
|
||||||
'booking_currently_leadhelp' => $role_listing,
|
'booking_currently_leadhelp' => $role_listing,
|
||||||
'booking_group_edit' => l(t('Edit'), t('admin/booking/!id/edit-studygroup-membership', array('!id' => $data->nid))),
|
'booking_group_edit' => l(t('Edit'), t('admin/booking/!id/edit-studygroup-membership', array('!id' => $data->nid))),
|
||||||
'#attributes' => array('id' => array($class))
|
'#attributes' => array('id' => array($class)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user