Payment complete flag for manual payments
This commit is contained in:
@@ -483,6 +483,14 @@ function booking_update_7226() {
|
||||
db_create_table('booking_room_locations', $booking_room_locations);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add payment complete flag to simplify payment management
|
||||
*/
|
||||
function booking_update_7227() {
|
||||
$spec = array('type' => 'varchar', 'length' => '1', 'not null' => FALSE, 'default' => 'N');
|
||||
db_add_field('booking_person', 'booking_payment_complete', $spec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_install().
|
||||
*/
|
||||
@@ -588,6 +596,7 @@ function booking_schema() {
|
||||
'booking_room_mate2' => array('type' => 'varchar', 'length' => '200', 'not null' => FALSE),
|
||||
//payment info
|
||||
'booking_payment_id' => array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE),
|
||||
'booking_payment_complete' => array('type' => 'varchar', 'length' => '1', 'not null' => FALSE, 'default' => 'N'),
|
||||
//'booking_payment_method' => array('type' => 'varchar', 'length' => '100', 'not null' => TRUE),
|
||||
'booking_total_pay_reqd' => array('type' => 'numeric', 'not null' => FALSE, 'default' => 0, 'precision' => '7', 'scale' => '2'),
|
||||
'booking_amount_paid' => array('type' => 'numeric', 'not null' => FALSE, 'default' => 0, 'precision' => '7', 'scale' => '2'),
|
||||
|
Reference in New Issue
Block a user