Add flight detail fields

This commit is contained in:
2014-07-26 19:57:18 +10:00
parent 5bda75ff47
commit 215a261ce2
5 changed files with 77 additions and 15 deletions

View File

@@ -412,6 +412,23 @@ function booking_update_7221() {
db_add_field('booking_person', 'booking_destination_country', $spec);
}
/**
* Add field for travel insurance info when collecting passport information
*/
function booking_update_7222() {
$spec = array('type' => 'varchar', 'length' => '500', 'not null' => FALSE);
db_add_field('booking_person', 'booking_travel_insurance', $spec);
}
/**
* Add fields for flight details when collecting passport information
*/
function booking_update_7223() {
$spec = array('type' => 'varchar', 'length' => '500', 'not null' => FALSE);
db_add_field('booking_person', 'booking_internal_flight_outbound', $spec);
db_add_field('booking_person', 'booking_internal_flight_inbound', $spec);
}
/**
* Implementation of hook_install().
*/
@@ -442,7 +459,7 @@ $result = db_insert('booking_price')
'booking_eventid' => 1,
'booking_price' => '50.00',
'booking_price_descrip' => 'Deposit',
'booking_buttonid' => '9LMSELBEEL5W2',
'booking_buttonid' => '',
'booking_price_active' => 1,
'booking_depositonly' => 1,
))