minor tweaks

This commit is contained in:
2016-06-01 19:11:10 +10:00
parent 3f5f80c308
commit a01096d1a5
3 changed files with 14 additions and 3 deletions

View File

@@ -1103,8 +1103,7 @@ function _booking_postpayment_trigger($nid, $person, $balance_payment)
//If there is no outstanding balance, send a payment complete email
$amount_owing = _booking_amount_owing($person);
//if ($total >= $person->booking_total_pay_reqd)
if ($amount_owing == 0)
{
if ($amount_owing == 0) {
//set the payment complete flag
db_update('booking_person')
->fields(array(