diff --git a/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceReport.php b/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceReport.php index 289f86f2..e3a7cdc1 100644 --- a/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceReport.php +++ b/app/Classes/Modules/Exports/Services/ExportsSalesInvoiceReport.php @@ -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