test of excel export

This commit is contained in:
2018-07-13 13:09:31 +10:00
parent b8e2f852af
commit c1d6b05167
3 changed files with 666 additions and 4 deletions

View File

@@ -39,9 +39,9 @@ module_load_include('inc', 'booking', 'booking.reports');
// Load the include for the admin pages
module_load_include('inc', 'booking', 'booking.admin');
// Load the include for admin pages relating to events
module_load_include('inc', 'booking', 'booking.events');
//module_load_include('inc', 'booking', 'booking.events');
// Load the include for admin pages relating to event pricing
module_load_include('inc', 'booking', 'booking.prices');
//module_load_include('inc', 'booking', 'booking.prices');
// Load the include for admin pages relating to manual processing of payments
module_load_include('inc', 'booking', 'booking.manual_payment');
// Load the include for helper functions
@@ -243,7 +243,8 @@ function booking_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_event_admin'),
'access arguments' => array('administer site configuration'),
'weight' => -97,
'weight' => -97,
'file' => 'booking.events.inc',
//'type' => MENU_LOCAL_TASK,
);
$items['admin/config/booking/prices'] = array(
@@ -252,7 +253,8 @@ function booking_menu() {
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_price_admin'),
'access arguments' => array('administer site configuration'),
'weight' => -96,
'weight' => -96,
'file' => 'booking.prices.inc',
//'type' => MENU_LOCAL_TASK,
);
@@ -744,6 +746,7 @@ function booking_menu() {
'page arguments' => array('booking_price_form', true),
'access arguments' => array('access administration pages'),
'type' => MENU_LOCAL_ACTION,
'file' => 'booking.prices.inc',
);
$items['admin/config/booking/prices/%/edit'] = array(
@@ -752,6 +755,7 @@ function booking_menu() {
'page arguments' => array('booking_price_form', false, 4),
'access arguments' => array('access administration pages'),
'type' => MENU_CALLBACK,
'file' => 'booking.prices.inc',
);
//Configure events
@@ -762,6 +766,7 @@ function booking_menu() {
'page arguments' => array('booking_event_form', true),
'access arguments' => array('access administration pages'),
'type' => MENU_LOCAL_ACTION,
'file' => 'booking.events.inc',
);
$items['admin/config/booking/events/%/edit'] = array(
@@ -772,6 +777,7 @@ function booking_menu() {
'page arguments' => array('booking_event_form', false, 4),
'access arguments' => array('access administration pages'),
'type' => MENU_CALLBACK,
'file' => 'booking.events.inc',
);
//manage early access codes