clarified message about unnecessary balance emails
This commit is contained in:
@@ -204,6 +204,8 @@ function _booking_balance_payment_email($nid) {
|
|||||||
$tokens = booking_define_personspecific_tokens($node);
|
$tokens = booking_define_personspecific_tokens($node);
|
||||||
|
|
||||||
if ($tokens['payment-required'] <= 0) {
|
if ($tokens['payment-required'] <= 0) {
|
||||||
|
drupal_set_message(t("Didn't send unnecessary balance outstanding email to: !person",
|
||||||
|
array('!person' => $node->booking_firstname . ' ' . $node->booking_lastname)));
|
||||||
watchdog('booking', "Not sending amount owing email, since this person doesn't owe any money: @info",
|
watchdog('booking', "Not sending amount owing email, since this person doesn't owe any money: @info",
|
||||||
array('@info' => var_export($node, TRUE)));
|
array('@info' => var_export($node, TRUE)));
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user