Add new include for study group leaders/helpers calculations

This commit is contained in:
2016-01-17 19:10:42 +11:00
parent 96f3122b93
commit a283320925
6 changed files with 31 additions and 8 deletions

View File

@@ -1172,17 +1172,17 @@ function _booking_validate($node, &$form_state) {
t('You have entered an invalid medicare number. Please check your medicare card and re-enter the number. If you believe this to be incorrect, please !contact.',
array('!contact' => l('send us an email', 'mailto:' . variable_get('booking_contact_email') . '?subject=Invalid Medicare Number'))
)
);
}
);
}
elseif ( (variable_get('booking_enforce_medicare_verification', 1) == 0) && (! _valid_medicare_number($form_state['booking_medicare'])) )
{
drupal_set_message(
t('You have entered an invalid medicare number. Please ensure you check your medicare card and send us the correct information via !contact.',
array('!contact' => l('email', 'mailto:' . variable_get('booking_contact_email') . '?subject=Invalid Medicare Number'))
),
),
'error', FALSE
);
}
}
}
//verify state information with the new few checks