From 298a9bc094ca5decf3ef356759bb8f2ebcc9f000 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sun, 28 Nov 2021 21:16:26 +0800 Subject: [PATCH] performa invoice --- .../Processors/CreatePerformaInvoiceTransactionProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Transactions/Processors/CreatePerformaInvoiceTransactionProcessor.php b/app/Classes/Modules/Transactions/Processors/CreatePerformaInvoiceTransactionProcessor.php index 67bbe879..aa0397b9 100644 --- a/app/Classes/Modules/Transactions/Processors/CreatePerformaInvoiceTransactionProcessor.php +++ b/app/Classes/Modules/Transactions/Processors/CreatePerformaInvoiceTransactionProcessor.php @@ -109,7 +109,7 @@ class CreatePerformaInvoiceTransactionProcessor $billNumber = $this->generatesTransactionBillNumber->execute('PERFORMA-'); $outstanding = $this->calculatesBookingOutstanding->execute($booking); - +dd($outstanding); $conversionObject = new CurrencyConversionObject(floatval(str_replace(',', '', $outstanding)), $booking->convertible_currency_id, $booking->service_id, $booking->fix_currency_id === 1 ? 0:1, PaymentMethodType::CASH); $this->generatesBookingQuotation->execute( $this->fetchesBookingQuotation->execute($booking->company, $conversionObject),