E-Invoice - Look into another timed out problem, error 504

This commit is contained in:
Dillon Ngo
2025-09-14 15:26:06 +08:00
parent 97861e29c8
commit cbb2f3186a
@@ -173,7 +173,7 @@ class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingR
$detail->quantity,
$displayUnitPrice ? number_format($displayUnitPrice, 2): 0,
$firstItem ? 'T' : '',
$company->e_invoice ? 'F' : 'T'
$firstItem ? ($company->e_invoice ? 'F' : 'T') : '',
];
if($firstItem) {
@@ -210,7 +210,7 @@ class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingR
'1',
$serviceCharge ? number_format($serviceCharge, 2): '0',
'',
$company->e_invoice ? 'F' : 'T'
'',
];
// Service Charge - Ends
@@ -256,7 +256,7 @@ class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingR
'1',
$adjustment ? number_format($adjustment, 2): '0',
'',
$company->e_invoice ? 'F' : 'T'
'',
];
// Adjustment - Ends