remove old passport and flight info from cahaya
This commit is contained in:
@@ -286,6 +286,7 @@ function booking_insert($node) {
|
||||
'booking_dob' => $node->booking_dob,
|
||||
'booking_barcode' => $node->booking_barcode,
|
||||
'booking_luckynum' => $node->booking_luckynum,
|
||||
/*
|
||||
'booking_passport_num' => $node->booking_passport_num,
|
||||
'booking_passport_issue_location' => $node->booking_passport_issue_location,
|
||||
'booking_passport_issue_name' => $node->booking_passport_issue_name,
|
||||
@@ -306,7 +307,8 @@ function booking_insert($node) {
|
||||
'booking_rtrnflight_origin_ts' => $node->booking_rtrnflight_origin_ts,
|
||||
'booking_rtrnflight_connecting_flightnum' => $node->booking_rtrnflight_connecting_flightnum,
|
||||
'booking_rtrnflight_destination' => $node->booking_rtrnflight_destination,
|
||||
'booking_rtrnflight_destination_ts' => $node->booking_rtrnflight_destination_ts,
|
||||
'booking_rtrnflight_destination_ts' => $node->booking_rtrnflight_destination_ts,
|
||||
*/
|
||||
'booking_gender' => $node->booking_gender,
|
||||
'booking_street' => $node->booking_street,
|
||||
'booking_suburb' => $node->booking_suburb,
|
||||
@@ -393,6 +395,7 @@ function booking_update($node) {
|
||||
'booking_dob' => _date_to_ts($node->booking_dob),
|
||||
'booking_barcode' => $node->booking_barcode,
|
||||
'booking_luckynum' => $node->booking_luckynum == '' ? 0 : $node->booking_luckynum,
|
||||
/*
|
||||
'booking_passport_num' => $node->booking_passport_num,
|
||||
'booking_passport_issue_location' => $node->booking_passport_issue_location,
|
||||
'booking_passport_issue_name' => $node->booking_passport_issue_name,
|
||||
@@ -413,7 +416,8 @@ function booking_update($node) {
|
||||
'booking_rtrnflight_origin_ts' => _datetime_to_ts($node->booking_rtrnflight_origin_ts),
|
||||
'booking_rtrnflight_connecting_flightnum' => $node->booking_rtrnflight_connecting_flightnum,
|
||||
'booking_rtrnflight_destination' => $node->booking_rtrnflight_destination,
|
||||
'booking_rtrnflight_destination_ts' => _datetime_to_ts($node->booking_rtrnflight_destination_ts),
|
||||
'booking_rtrnflight_destination_ts' => _datetime_to_ts($node->booking_rtrnflight_destination_ts),
|
||||
*/
|
||||
'booking_gender' => $node->booking_gender,
|
||||
'booking_street' => $node->booking_street,
|
||||
'booking_suburb' => $node->booking_suburb,
|
||||
@@ -777,7 +781,7 @@ function booking_view($node, $view_mode) {
|
||||
$rows[] = array(t('Barcode:'), t('!id', array('!id' => $node->booking_barcode)));
|
||||
$rows[] = array(t('Date of birth:'), t('!dob', array('!dob' => format_date($node->booking_dob, 'custom', 'd/m/Y'))));
|
||||
$rows[] = array(t('Email address:'), t('!email', array('!email' => $node->booking_email)));
|
||||
|
||||
/*
|
||||
if (variable_get('booking_enable_passport', 1) == 1)
|
||||
{
|
||||
$rows[] = array(t('Passport Number:'), $node->booking_passport_num);
|
||||
@@ -819,7 +823,7 @@ function booking_view($node, $view_mode) {
|
||||
'#weight' => 3,
|
||||
);
|
||||
}
|
||||
|
||||
*/
|
||||
$rows[] = array(t('Payment Type Selected:'), t('!amount_paid', array('!amount_paid' => $payment_type)));
|
||||
$rows[] = array(t('Amount Paid:'), t('!amount_paid', array('!amount_paid' => $node->booking_amount_paid)));
|
||||
$rows[] = array(t('Payment Complete Flag:'), t('!ans', array('!ans' => $node->booking_payment_complete == 'Y' ? 'Yes' : 'No')));
|
||||
|
Reference in New Issue
Block a user