New travel email
This commit is contained in:
@@ -286,6 +286,7 @@ function booking_manual_email()
|
||||
$prefix = t("<p>Send a manual email to people registered for this event.</p>");
|
||||
$email_options_array = array();
|
||||
$email_options_array['registration'] = 'Manual Registration';
|
||||
$email_options_array['travelrequired'] = 'Manual Travel Form Required';
|
||||
$email_options_array['balance'] = 'Manual Balance Outstanding';
|
||||
$email_options_array['complete'] = 'Manual Payment Complete';
|
||||
$email_options_array['travelcomplete'] = 'Manual Travel Form Complete';
|
||||
@@ -413,6 +414,11 @@ function booking_manual_email_submit($form, &$form_state) {
|
||||
watchdog('booking', 'Processing a manual registration email to id @info', array ('@info' => $key));
|
||||
_booking_registration_email($key, false, true);
|
||||
}
|
||||
if ($form_state['values']['email-type'] == 'travelrequired')
|
||||
{
|
||||
watchdog('booking', 'Processing a manual travel form request email to id @info', array ('@info' => $key));
|
||||
_booking_travelform_request_email($key);
|
||||
}
|
||||
elseif ($form_state['values']['email-type'] == 'balance')
|
||||
{
|
||||
watchdog('booking', 'Processing a manual outstanding balance email to id @info', array ('@info' => $key));
|
||||
|
Reference in New Issue
Block a user