diff --git a/booking.rooms.inc b/booking.rooms.inc index 51db9bb..2a62386 100644 --- a/booking.rooms.inc +++ b/booking.rooms.inc @@ -57,7 +57,8 @@ function booking_roomallocations_view_summary() { 'booking_married' => array('data' => t('Married?'), 'field' => 'p.booking_married'), 'booking_roomlocation' => array('data' => t('Room Location'), 'field' => 'r.booking_room_location_id'), 'booking_room_num' => array('data' => t('Room Number'), 'field' => 'r.booking_room_number'), - 'booking_room_bedtype' => array('data' => t('Bed Type'), 'field' => 'm.booking_room_bedtype') + 'booking_room_bedtype' => array('data' => t('Bed Type'), 'field' => 'm.booking_room_bedtype'), + 'booking_room_edit' => array('data' => t('Edit')), ); $query = db_select('booking_person', 'p'); @@ -83,6 +84,7 @@ function booking_roomallocations_view_summary() { _booking_room_location_lookup($data->booking_room_location_id), $data->booking_room_number, _booking_room_bedtype_lookup($data->booking_room_bedtype), + l(t('Edit'), t('admin/booking/!id/edit-room', array('!id' => $data->nid))), ), ); }