Numerous changes. Travel form, CSV report etc

This commit is contained in:
2014-04-11 16:24:16 +10:00
parent fec1c040d5
commit 596b64aa8d
5 changed files with 56 additions and 26 deletions

View File

@@ -869,7 +869,7 @@ function _booking_validate($node, &$form_state) {
//verify that a state has been entered if "Other" was selected
if (($form_state['booking_state'] == 'Other' ) && ($form_state['booking_other_state'] == ''))
form_set_error('booking_other_state', t('You must enter your State in the address section of the Contact details.'));
form_set_error('booking_other_state', t('You must enter your State in the address section of the Contact details. Please put N/A if your country does not have states.'));
}
function booking_form_submit($form, &$form_state) {
@@ -1092,7 +1092,7 @@ function booking_load($nodes) {
}
}
//watchdog('booking', 'Final loaded node: @info', array('@info' => var_export($nodes, TRUE)));
watchdog('booking', 'Final loaded node: @info', array('@info' => var_export($nodes, TRUE)));
// no return necessary since $nodes array members reference objects global to this function
}