mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-24 15:04:19 +00:00
fix bill seeder
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user