mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
E-Invoice - New Sales Invoice Report (with refund)
This commit is contained in:
@@ -43,8 +43,8 @@ class ExportsSalesInvoiceWithRefundReport implements FromQuery, WithHeadings, Wi
|
||||
'DeptNo',
|
||||
'Qty',
|
||||
'UnitPrice',
|
||||
'submiteinvoice',
|
||||
'ConsolidatedEinvoice',
|
||||
'SubmitEinvoice',
|
||||
'ConsolidatedEInvoice',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ class ExportsSalesInvoiceWithRefundReport implements FromQuery, WithHeadings, Wi
|
||||
$detail->quantity,
|
||||
$displayUnitPrice ? number_format($displayUnitPrice, 2): 0,
|
||||
$firstItem ? 'T' : '',
|
||||
$company->e_invoice ? 'F' : 'T'
|
||||
$firstItem ? ($company->e_invoice ? 'F' : 'T') : ''
|
||||
];
|
||||
|
||||
if($firstItem) {
|
||||
@@ -199,7 +199,7 @@ class ExportsSalesInvoiceWithRefundReport implements FromQuery, WithHeadings, Wi
|
||||
'1',
|
||||
$serviceCharge ? number_format($serviceCharge, 2): '0',
|
||||
'',
|
||||
$company->e_invoice ? 'F' : 'T'
|
||||
''
|
||||
];
|
||||
// Service Charge - Ends
|
||||
|
||||
@@ -246,7 +246,7 @@ class ExportsSalesInvoiceWithRefundReport implements FromQuery, WithHeadings, Wi
|
||||
'1',
|
||||
$adjustment ? number_format($adjustment, 2): '0',
|
||||
'',
|
||||
$company->e_invoice ? 'F' : 'T'
|
||||
''
|
||||
];
|
||||
}
|
||||
// Adjustment - Ends
|
||||
|
||||
Reference in New Issue
Block a user