fix myr fixed invoice bug

This commit is contained in:
omair saleh
2021-08-12 11:42:32 +08:00
parent 9bc8c2d584
commit 0843a1e82f
@@ -104,7 +104,7 @@ class CreateInvoiceTransactionProcessor
$payment_amount = $this->calculatesBookingTransferredAmount->execute($booking, $booking->fix_currency_id);
$booking_amount = $booking->fix_amount;
dd((float) $booking_amount .' = '. (float) $payment_amount);
dd((float) $booking_amount > (float) $payment_amount);
if ((float) $booking_amount > (float) $payment_amount) {
return;