Added logging when we send the married couple email

This commit is contained in:
2014-01-29 22:54:19 +11:00
parent 358b7fdca8
commit ca0eb2b984

View File

@@ -146,6 +146,7 @@ function _booking_balance_payment_email($nid)
//retrieve the body of the email for a married couple only if we're combining pricing for couples
if (variable_get('booking_enable_combined_pricing', 0) == 1 && $node->booking_partner_id > 0)
{
watchdog('booking', "Sending the married-couple specific outstanding balance email for this person: @info", array('@info' => var_export($node, TRUE)));
$params['body'] = token_replace(variable_get('booking_email_paymentoutstanding_married_text'), $tokens);
}
//otherwise retrieve the body of the email for individuals