From 495a2f0bdd5e58445b29eed7133e899cd75783ec Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Wed, 10 Sep 2025 11:38:17 +0800 Subject: [PATCH] E-Invoice - New Sales Invoice Report (with refund) --- .../ExportsSalesInvoiceWithRefundReport.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceWithRefundReport.php b/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceWithRefundReport.php index 3905355e..2809fad9 100644 --- a/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceWithRefundReport.php +++ b/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceWithRefundReport.php @@ -252,7 +252,23 @@ class ExportsSalesInvoiceWithRefundReport implements FromQuery, WithHeadings, Wi // Adjustment - Ends } else{ - Log::info('ExportsSalesInvoiceWithRefundReport EMPTY RECORD !!!'); + Log::info('ExportsSalesInvoiceWithRefundReport EMPTY RECORD for booking marking: ' . $booking->marking); + $records[] = [ + '<>', + $formattedDocumentDate, + $company->debtor, + $booking->marking, + $booking->marking, + '500-0000', + 'PRODUCT NAME :', + 'First Mile Delivery', + '022', + 'C', + '1', + '0', + '', + '' + ]; } return $records; }