Bugfix 1 - don't send balance payment complete email for partial payments
Bugfix 2 - don't display married couple specific text on balance page when they've completed payment
This commit is contained in:
@@ -54,12 +54,9 @@ function booking_balance_page() {
|
||||
else
|
||||
{
|
||||
$output = token_replace(variable_get('booking_regn_balance_page'), $tokens);
|
||||
}
|
||||
|
||||
//optional additional text for married people
|
||||
if ($person->booking_married == 'Y')
|
||||
{
|
||||
$output .= token_replace(variable_get('booking_regn_balance_married_text'), $tokens);
|
||||
//optional additional text for married people
|
||||
if ($person->booking_married == 'Y')
|
||||
$output .= token_replace(variable_get('booking_regn_balance_married_text'), $tokens);
|
||||
}
|
||||
|
||||
//put all the bits together
|
||||
|
Reference in New Issue
Block a user