Added partial payment option

This commit is contained in:
2014-03-04 16:21:10 +11:00
parent b2c0ec842d
commit 894ab1aba4
7 changed files with 163 additions and 3 deletions

View File

@@ -33,6 +33,8 @@ module_load_include('inc', 'booking', 'booking.register');
module_load_include('inc', 'booking', 'booking.confirm');
// Load the include that contains the registration balance payment page
module_load_include('inc', 'booking', 'booking.balance');
// Load the include that contains the registration partial balance payment page
module_load_include('inc', 'booking', 'booking.partialbalance');
// Load the include that contains the registration reports pages
module_load_include('inc', 'booking', 'booking.reports');
// Load the include for the admin pages
@@ -222,6 +224,14 @@ function booking_menu() {
'type' => MENU_CALLBACK,
);
$items['partpay/%/%'] = array(
'title' => 'Registration Partial Payment',
'page callback' => 'booking_partial_balance_page',
'page arguments' => array(4), //include the temporary id and the amount
'access arguments' => array('access booking form'),
'type' => MENU_CALLBACK,
);
$items['travel/%'] = array(
'title' => 'Travel Details Page',
'page callback' => 'booking_travel_page',