also add highlighting for people that want accommodation
This commit is contained in:
@@ -12,6 +12,8 @@ tr.welfare-row.odd {background: #c3e06c;}
|
||||
tr.welfare-row.even {background: #c3e06c;}
|
||||
tr.flying-row.odd {background: #c3e06c;}
|
||||
tr.flying-row.even {background: #e5f2c0;}
|
||||
tr.accomm-row.odd {background: #ffb380;}
|
||||
tr.accomm-row.even {background: #ffb380;}
|
||||
div#booking_email_preselection_suffix_wrapper {
|
||||
margin-bottom: 10px;
|
||||
}
|
@@ -492,6 +492,11 @@ function booking_report_travel() {
|
||||
$person->booking_flight_datetime_outbound == 0 ? '' : format_date($person->booking_flight_datetime_outbound, 'custom', 'd/m/Y H:i')));
|
||||
$this_row[] = t('!beforeaccom', array('!beforeaccom' => $person->booking_accom_before_reqd == 1 ? 'Yes' : 'No'));
|
||||
$this_row[] = t('!afteraccom', array('!afteraccom' => $person->booking_accom_after_reqd == 1 ? 'Yes' : 'No'));
|
||||
|
||||
//mark people requiring accommodation in a different colour so they stand out more
|
||||
if ($person->booking_accom_before_reqd == 1 || $person->booking_accom_after_reqd == 1) {
|
||||
$class = "accomm-row";
|
||||
}
|
||||
}
|
||||
else {
|
||||
for ($i = 0; $i < 8; $i++) {
|
||||
|
Reference in New Issue
Block a user