mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix myr fixed invoice bug
This commit is contained in:
@@ -111,6 +111,7 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user