Add new include for study group leaders/helpers calculations
This commit is contained in:
@@ -62,6 +62,7 @@ module_load_include('inc', 'booking', 'booking.variety');
|
||||
module_load_include('inc', 'booking', 'booking.studygroups');
|
||||
// Load the include for study group definitions
|
||||
module_load_include('inc', 'booking', 'booking.studygroups_admin');
|
||||
module_load_include('inc', 'booking', 'booking.studygroup_leaders');
|
||||
// Load the include for the travel form
|
||||
module_load_include('inc', 'booking', 'booking.travel');
|
||||
// Load the include for managing room bookings and definitions
|
||||
@@ -457,7 +458,13 @@ function booking_menu() {
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
|
||||
$items['admin/booking/studygroups/calculateleaders'] = array(
|
||||
'title' => 'Calculate Study Group Leaders',
|
||||
'description' => 'Calculate Study Group Leaders and Helpers',
|
||||
'page callback' => 'booking_studygroups_leaders_calculate',
|
||||
'access arguments' => array("edit study groups"),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/%/view'] = array(
|
||||
'title' => 'View Study Group',
|
||||
|
Reference in New Issue
Block a user