new report for leaders/helpers
This commit is contained in:
@@ -292,7 +292,21 @@ function booking_menu() {
|
||||
'page arguments' => array(3), //include the temporary id
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_SUGGESTED_ITEM,
|
||||
);
|
||||
);
|
||||
|
||||
$items['coming'] = array(
|
||||
'title' => "Who's Coming?",
|
||||
'page callback' => 'booking_coming_page',
|
||||
'access arguments' => array("access coming list"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['waitinglist'] = array(
|
||||
'title' => "Who's on the waiting list?",
|
||||
'page callback' => 'booking_waitinglist_page',
|
||||
'access arguments' => array("access waiting list"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
//Various reports
|
||||
$items['admin/booking/summary'] = array(
|
||||
@@ -347,21 +361,6 @@ function booking_menu() {
|
||||
'access arguments' => array('import bookings'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
|
||||
$items['coming'] = array(
|
||||
'title' => "Who's Coming?",
|
||||
'page callback' => 'booking_coming_page',
|
||||
'access arguments' => array("access coming list"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['waitinglist'] = array(
|
||||
'title' => "Who's on the waiting list?",
|
||||
'page callback' => 'booking_waitinglist_page',
|
||||
'access arguments' => array("access waiting list"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
//show flight info report only if we have passport info enabled
|
||||
if (variable_get('booking_enable_passport', 0) == 1)
|
||||
@@ -478,7 +477,17 @@ function booking_menu() {
|
||||
'page callback' => 'booking_studygroups_view_summary',
|
||||
'access arguments' => array("view study groups"),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
);
|
||||
|
||||
//@todo a nice report with everyone's studygroup membership
|
||||
|
||||
$items['admin/booking/studygroups/report/leadershelpers'] = array(
|
||||
'title' => 'View Studygroup Leaders and Helpers',
|
||||
'description' => 'View Studygroup Leaders and Helpers',
|
||||
'page callback' => 'booking_studygroups_leadhelp_view_summary',
|
||||
'access arguments' => array("view study groups"),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/calculateleaders'] = array(
|
||||
'title' => 'Calculate Study Group Leaders',
|
||||
|
Reference in New Issue
Block a user