fix myr fixed invoice bug

This commit is contained in:
omair saleh
2021-08-12 14:08:16 +08:00
parent 852c035b46
commit 8e75b1dcf4
@@ -111,7 +111,6 @@ class CreateInvoiceTransactionProcessor
$payable_amount = $this->calculatesBookingPayableAmount->execute($booking, $booking->fix_currency_id);
$booking_amount = $booking->fix_amount;
dd((float) $booking_amount .' > '. (float) $payable_amount);
// confirm that booking amount has been fully paid
if ((float) $booking_amount > (float) $payable_amount) {
return;