Add new include for study group leaders/helpers calculations

This commit is contained in:
2016-01-17 19:10:42 +11:00
parent 96f3122b93
commit a283320925
6 changed files with 31 additions and 8 deletions

View File

@@ -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',