Added ajax function to individually manage room allocation

This commit is contained in:
2014-06-03 18:39:34 +10:00
parent 9aef5c23ed
commit eff81fdbba
4 changed files with 277 additions and 12 deletions

View File

@@ -425,6 +425,15 @@ function booking_menu() {
'page arguments' => array('booking_rooms_view_form', 3),
'access arguments' => array('view room allocations'),
);
$items['admin/booking/%/edit-room'] = array(
'title' => 'Edit Room Allocation',
'description' => 'Manually Update Room Allocation',
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_room_edit_form', 2),
'access arguments' => array('edit room allocations'),
'type' => MENU_CALLBACK,
);
}
//Configure prices