Add NZ as a state and fix _booking_get_emergency_contact_types
This commit is contained in:
@@ -13,6 +13,7 @@ function _booking_state_options() {
|
||||
$options_array['ACT'] = 'ACT';
|
||||
$options_array['NT'] = 'NT';
|
||||
$options_array['TAS'] = 'TAS';
|
||||
$options_array['NZ'] = 'NZ';
|
||||
$options_array['Other'] = 'Other';
|
||||
return $options_array;
|
||||
}
|
||||
@@ -52,6 +53,18 @@ function _booking_status_lookup($input)
|
||||
return array_search($input, _booking_status_generate());
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to provide a list of emergency contact types for the registration form
|
||||
*/
|
||||
function _booking_get_emergency_contact_types() {
|
||||
return array(
|
||||
'parent' => 'Parent',
|
||||
'legal_guardian' => 'Legal Guardian',
|
||||
'relative' => 'Close Relative',
|
||||
'spouse' => 'Spouse',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to provide a list of options for the t-shirt size field of the registration form
|
||||
*/
|
||||
@@ -72,6 +85,8 @@ function _get_tshirt_options() {
|
||||
return $options_array;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Helper function to look up description of studygroup role
|
||||
* @param $input integer containing role id
|
||||
|
Reference in New Issue
Block a user