study group update calculations

This commit is contained in:
2014-06-14 12:18:58 +10:00
parent 7751058348
commit c9ead35f16
8 changed files with 445 additions and 56 deletions

View File

@@ -351,13 +351,6 @@ function travel_form_validate($form, &$form_state) {
//check to make sure flight info is entered if it is selected
if (isset($form_state['values']['booking_transport_type']) && $form_state['values']['booking_transport_type'] == 'Flying')
{
$arrival_time = _datetime_to_ts($form_state['values']['booking_flight_datetime_inbound']);
$departure_time = _datetime_to_ts($form_state['values']['booking_flight_datetime_outbound']);
watchdog('booking', "Travel form flying arrival ts !arrival, departing ts !depart", array('!arrival' => $arrival_time, '!depart' => $departure_time));
watchdog('booking', "<pre>Travel form raw data:\n@info</pre>",
array('@info' => print_r( $form_state['values'], true)));
if ( (! isset($form_state['values']['booking_flightnum_inbound'])) || ($form_state['values']['booking_flightnum_inbound'] == '') )
{