fix bill seeder

This commit is contained in:
omair saleh
2022-02-22 01:30:49 +08:00
parent b6dac15cdc
commit e297cbc0bc
@@ -206,11 +206,11 @@ class CreateInvoiceTransactionProcessor
);
$document = $this->createsDocument->execute($po_order_transaction->booking, $document_object);
$this->createsFile->execute($document, $document_object);
dd('okay');
$billNumber = $this->generatesTransactionBillNumber->execute('SPDO-');
$booking_currency_average_rate = $this->calculatesBookingCurrencyAverageRate->execute($booking, TransactionType::BILL);
dd($booking_currency_average_rate);
$transaction = $booking->transactions()->payments()->where('status', ApprovalStatus::COMPLETED)->first()
->transactions()->where('type', TransactionType::BILL)->first();