performa invoice

This commit is contained in:
omair saleh
2021-11-28 20:35:01 +08:00
parent fc7ad2bb09
commit 1b8e8722c8
@@ -103,7 +103,7 @@ class CreatePerformaInvoiceTransactionProcessor
$po_order_transaction = $booking->transactions()
->where('type', TransactionType::PURCHASE_ORDER)
->complete()
->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED])
->first();
$billNumber = $this->generatesTransactionBillNumber->execute('PERFORMA-');