mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-28 00:43:58 +00:00
fix accounting export format
This commit is contained in:
@@ -37,6 +37,7 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
'ShipInfo',
|
||||
'ItemCode',
|
||||
'DetailDescription',
|
||||
'FurtherDescription',
|
||||
'Qty',
|
||||
'UnitPrice',
|
||||
'AccNo',
|
||||
@@ -92,15 +93,16 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
|
||||
return [
|
||||
'<<New>>',
|
||||
$transaction->updated_at->format('d/m/Y'),
|
||||
$transaction->updated_at->format('d/m/Y H:m'),
|
||||
$company->debtor,
|
||||
'',
|
||||
'MYR',
|
||||
$booking->marking,
|
||||
'',
|
||||
'PLEASE REFER TO THE ATTACHED APPENDIX REF ' . $booking->marking,
|
||||
'',
|
||||
1,
|
||||
$transaction->amount,
|
||||
round($transaction->amount, 2),
|
||||
'500-0000',
|
||||
'CIEF'
|
||||
];
|
||||
|
||||
@@ -37,6 +37,7 @@ class ExportsWalletTransactions implements FromQuery, WithHeadings, WithHeadingR
|
||||
'ShipInfo',
|
||||
'ItemCode',
|
||||
'DetailDescription',
|
||||
'FurtherDescription',
|
||||
'Qty',
|
||||
'UnitPrice',
|
||||
'AccNo',
|
||||
@@ -91,15 +92,16 @@ class ExportsWalletTransactions implements FromQuery, WithHeadings, WithHeadingR
|
||||
|
||||
return [
|
||||
'<<New>>',
|
||||
$transaction->updated_at->format('d/m/Y'),
|
||||
$transaction->updated_at->format('d/m/Y H:m'),
|
||||
$company->debtor,
|
||||
'',
|
||||
'MYR',
|
||||
$transaction->bill_no,
|
||||
'W1',
|
||||
'CREDIT SALES',
|
||||
'',
|
||||
1,
|
||||
$transaction->amount,
|
||||
round($transaction->amount, 2),
|
||||
'500-0000',
|
||||
'WALLET'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user