add married text
This commit is contained in:
@@ -492,10 +492,13 @@ function _booking_email_get_preview_callback($form, $form_state) {
|
|||||||
|
|
||||||
switch ($emailtype) {
|
switch ($emailtype) {
|
||||||
case "registration":
|
case "registration":
|
||||||
$text = variable_get('booking_email_bookedin_text');
|
$text = variable_get('booking_email_bookedin_text');
|
||||||
break;
|
break;
|
||||||
case "balance":
|
case "balance":
|
||||||
$text = variable_get('booking_email_paymentoutstanding_text');
|
$text = variable_get('booking_email_paymentoutstanding_text');
|
||||||
|
if (variable_get('booking_enable_combined_pricing', 0) == 1) {
|
||||||
|
$text .= "\n</pre><h3>If married</h3><pre>" . variable_get('booking_email_paymentoutstanding_married_text');
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "complete":
|
case "complete":
|
||||||
$text = variable_get('booking_email_regn_complete_text');
|
$text = variable_get('booking_email_regn_complete_text');
|
||||||
|
Reference in New Issue
Block a user