fix myr fixed invoice bug

This commit is contained in:
omair saleh
2021-08-12 12:45:48 +08:00
parent d8948dd5fb
commit bf9b4ccd6b
@@ -105,7 +105,7 @@ class CreateInvoiceTransactionProcessor
$payment_amount = $this->calculatesBookingTransferredAmount->execute($booking, $booking->fix_currency_id);
$booking_amount = $booking->fix_amount;
if((float) $payment_amount === 0) {
if(!(float) $payment_amount) {
return;
}