Added partial payment option
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user