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:
Dillon Ngo
2025-12-02 16:35:51 +08:00
parent ae304f2636
commit 0dbfa60b1a
@@ -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;
}