diff --git a/booking.reports.inc b/booking.reports.inc index 13ceb4e..996b5d9 100644 --- a/booking.reports.inc +++ b/booking.reports.inc @@ -438,7 +438,7 @@ function booking_report_travel() { //define sorting information with the header //as per http://www.drup-all.com/blog/table-sort-pagination-drupal-7 $header = array(); - $header[] = array('data' => t('Id'), 'field' => 'nid', 'sort' => 'asc'); + $header[] = array('data' => t('Edit'), 'field' => 'nid', 'sort' => 'asc'); $header[] = array('data' => t('Name'), 'field' => 'booking_lastname'); $header[] = array('data' => t('Booking Status'), 'field' => 'booking_status'); $header[] = array('data' => t('Transport Type'), 'field' => 'booking_transport_type'); @@ -469,7 +469,8 @@ function booking_report_travel() { $this_row = array(); //define the row for this person - $this_row[] = l(t('Edit !id', array('!id' => $person->nid)), t('node/!id/edit', array('!id' => $person->nid))); + $this_row[] = $travel_link = l(t('Travel'), t('node/!id/edit', array('!id' => $person->tid))); + //$this_row[] = l(t('Edit !id', array('!id' => $person->nid)), t('node/!id/edit', array('!id' => $person->nid))); $this_row[] = l(t('!first !last', array('!first' => ucwords($person->booking_firstname), '!last' => ucwords($person->booking_lastname))), t('node/!id', array('!id' => $person->nid)) );