fix formatting

This commit is contained in:
2016-06-04 13:29:31 +10:00
parent 372c4d4f80
commit 804396ddf7
2 changed files with 4 additions and 4 deletions

View File

@@ -1430,6 +1430,8 @@ function _booking_form_submit_post_triggers($node)
}
}
//@todo repeat the process above for bf/gf
//check whether we should send an automatic email even though they haven't paid yet
if (variable_get('booking_auto_confirm_email', 0) == 1) {
//send the person an email

View File

@@ -685,8 +685,7 @@ function travel_view($node, $view_mode)
);
$rows[] = array(
t('Flight Arrival:'),
t('!date', array(
'!date' => format_date($node->booking_flight_datetime_inbound, 'custom', 'd/m/Y H:i')
t('!date', array('!date' => $node->booking_flight_datetime_inbound == 0 ? '' : format_date($node->booking_flight_datetime_inbound, 'custom', 'd/m/Y H:i')
))
);
$rows[] = array(
@@ -695,8 +694,7 @@ function travel_view($node, $view_mode)
);
$rows[] = array(
t('Flight Departure:'),
t('!date', array(
'!date' => format_date($node->booking_flight_datetime_outbound, 'custom', 'd/m/Y H:i')
t('!date', array('!date' => $node->booking_flight_datetime_outbound == 0 ? '' : format_date($node->booking_flight_datetime_outbound, 'custom', 'd/m/Y H:i')
))
);
$rows[] = array(