minor tweaks
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user