performa invoice

This commit is contained in:
omair saleh
2021-11-28 21:16:26 +08:00
parent 1b8e8722c8
commit 298a9bc094
@@ -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),