diff --git a/booking.balance.inc b/booking.balance.inc index bfba7c6..3120e62 100644 --- a/booking.balance.inc +++ b/booking.balance.inc @@ -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 diff --git a/booking.paypal.inc b/booking.paypal.inc index 1850b62..36f229e 100644 --- a/booking.paypal.inc +++ b/booking.paypal.inc @@ -237,7 +237,8 @@ function _booking_process_payment($data) { } else //this person still has an outstanding balance so just send a confirmation email { - _booking_registration_email($nid, $balance_payment); + //TODO: create an email specifically for partial-balance payments + //_booking_registration_email($nid, $balance_payment); } } else //couldn't find a matching nid for this invoice