mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
E-Invoice - Fix booking with full refund has no Ref at Sales Report API that generates record with no autocount data
This commit is contained in:
@@ -114,7 +114,7 @@ class CreateInvoiceTransactionV2Processor
|
||||
$refund_amount = $this->calculatesBookingRefundAmount->execute($booking, $booking->fix_currency_id);
|
||||
$booking_amount = $booking->fix_amount;
|
||||
|
||||
if ((float) $booking_amount === (float) $refund_amount && !$generateEInvoice) {
|
||||
if ((float) $booking_amount === (float) $refund_amount && !$generateEInvoiceRefund) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user