billing fix up

This commit is contained in:
omair saleh
2022-09-20 16:27:38 +08:00
parent 021c200d07
commit 9216c176f3
@@ -102,6 +102,8 @@ class CallbackBillplzLogic
$this->updatesTransactionStatus->execute($transaction, ApprovalStatus::APPROVED);
if($transaction->amount - $invoice->amount < 0.01) {
$this->updatesTransactionStatus->execute($invoice, ApprovalStatus::COMPLETED);
$packingList->status = ApprovalStatus::APPROVED;
$packingList->save();