Added an email for missed payment processing

This commit is contained in:
2014-05-28 13:06:09 +10:00
parent 41f39b6705
commit bdd980f13e
4 changed files with 105 additions and 4 deletions

View File

@@ -395,7 +395,19 @@ $booking_registration_intro_text = variable_get('booking_registration_intro_text
'#description' => t(''),
'#default_value' => variable_get('booking_email_notcoming_demotion', $booking_email_notcoming_demotion),
);
$form['emails']['booking_email_missedpayment_subject'] = array (
'#type' => 'textfield',
'#title' => t('Subject line for email advising attendee they missed the payment deadline'),
'#size' => 150,
'#maxlength' => 300,
'#default_value' => variable_get('booking_email_missedpayment_subject','[booking:eventname] payment deadline missed'),
);
$form['emails']['booking_email_missedpayment'] = array(
'#title' => t('Email text to send a person who missed the payment deadline'),
'#type' => 'textarea',
'#description' => t(''),
'#default_value' => variable_get('booking_email_missedpayment', ''),
);
//add a bunch of custom emails
for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++)