fix Supplier delivery order

This commit is contained in:
omair saleh
2022-02-13 14:54:07 +08:00
parent 36ff2c3be0
commit 2cfeea79cc
2 changed files with 18 additions and 6 deletions
@@ -210,6 +210,10 @@ class CreateInvoiceTransactionProcessor
$booking_currency_average_rate = $this->calculatesBookingCurrencyAverageRate->execute($booking, TransactionType::BILL);
$transaction = $booking->transactions()
->where('type', TransactionType::BILL)
->first();
$transaction_object = new TransactionObject(
$billNumber,
TransactionType::SUPPLIER_DELIVER,