fix myr fixed invoice bug

This commit is contained in:
omair saleh
2021-08-12 11:40:24 +08:00
parent bdcc8e019c
commit 957dfa02c8
@@ -103,8 +103,8 @@ class CreateInvoiceTransactionProcessor
}
$payment_amount = $this->calculatesBookingTransferredAmount->execute($booking, $booking->fix_currency_id);
dd($payment_amount);
$booking_amount = $booking->fix_amount;
dd((float) $booking_amount > (float) $payment_amount);
if ((float) $booking_amount > (float) $payment_amount) {
return;