Merge branch 'dillon/90-e-invoice-e-2' into vapor/development

This commit is contained in:
Dillon Ngo
2025-07-16 13:29:22 +08:00
@@ -100,7 +100,7 @@ class CanPassOrderDurationLimitRule extends AbstractRule
}
if($isExpired){
if($object->paymentReference){
if (isset($object->paymentReference) && $object->paymentReference){
$transaction = $this->fetchesTransaction->execute(['payment_reference' => $object->paymentReference]);
if($transaction->status === ApprovalStatus::PENDING_SUBMISSION && $transaction->payment_method == PaymentMethodType::PAYMENT_GATEWAY){
$this->deletesBillplzBill->execute($object->paymentReference);