diff --git a/booking.reports.inc b/booking.reports.inc
index 882dc9f..e077b01 100644
--- a/booking.reports.inc
+++ b/booking.reports.inc
@@ -434,6 +434,11 @@ function booking_report_travel() {
global $event;
$form = array();
$prefix = t("
Travel Details
");
+
+ //attach css so we can customise colours for some people
+ $form['#attached']['css'] = array(
+ drupal_get_path('module', 'booking') . '/booking.css',
+ );
//define sorting information with the header
//as per http://www.drup-all.com/blog/table-sort-pagination-drupal-7
@@ -475,7 +480,9 @@ function booking_report_travel() {
t('node/!id', array('!id' => $person->nid))
);
$this_row[] = t('!state', array('!state' => $person->booking_state));
- //$this_row[] = _booking_status_generate($person->booking_status);
+ //$this_row[] = _booking_status_generate($person->booking_status);
+
+ $class = $data->booking_transport_type == 'Flying' ? "flying-row" : "normal-row";
//calculate the travel link
if ($person->tid > 0) {
@@ -496,7 +503,7 @@ function booking_report_travel() {
$this_row[] = "N/A";
}
}
- $rows[] = $this_row;
+ $rows[] = array('data' => $this_row, 'class' => array($class));
}
$result = array (