mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
update invoice export format
This commit is contained in:
@@ -32,20 +32,14 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
'DocNo',
|
||||
'DocDate',
|
||||
'DebtorCode',
|
||||
'Ref',
|
||||
'Note',
|
||||
'DebtorName',
|
||||
'CurrencyCode',
|
||||
'ShipInfo',
|
||||
'Numbering',
|
||||
'AccNo',
|
||||
'ItemCode',
|
||||
'DetailDescription',
|
||||
'FutherDEscription',
|
||||
'YourPONo',
|
||||
'YourPODate',
|
||||
'ProjNo',
|
||||
'UOM',
|
||||
'Qty',
|
||||
'UnitPrice',
|
||||
'SubTotal'
|
||||
'AccNo'
|
||||
];
|
||||
}
|
||||
|
||||
@@ -96,23 +90,17 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
$company = $booking->company()->first();
|
||||
|
||||
return [
|
||||
'<<New>>',
|
||||
'<<New>>',
|
||||
$transaction->updated_at->format('d/m/Y'),
|
||||
$company->debtor,
|
||||
'',
|
||||
'',
|
||||
$booking->marking,
|
||||
'',
|
||||
'500-0000',
|
||||
$company->debtor,
|
||||
'',
|
||||
'MYR',
|
||||
$booking->marking,
|
||||
'',
|
||||
'PLEASE REFER TO THE ATTACHED APPENDIX REF ' . $booking->marking,
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
1,
|
||||
1,
|
||||
$transaction->amount,
|
||||
$transaction->amount,
|
||||
'500-0000'
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -32,20 +32,14 @@ class ExportsWalletTransactions implements FromQuery, WithHeadings, WithHeadingR
|
||||
'DocNo',
|
||||
'DocDate',
|
||||
'DebtorCode',
|
||||
'Ref',
|
||||
'Note',
|
||||
'DebtorName',
|
||||
'CurrencyCode',
|
||||
'ShipInfo',
|
||||
'Numbering',
|
||||
'AccNo',
|
||||
'ItemCode',
|
||||
'DetailDescription',
|
||||
'FutherDEscription',
|
||||
'YourPONo',
|
||||
'YourPODate',
|
||||
'ProjNo',
|
||||
'UOM',
|
||||
'Qty',
|
||||
'UnitPrice',
|
||||
'SubTotal'
|
||||
'AccNo'
|
||||
];
|
||||
}
|
||||
|
||||
@@ -95,23 +89,17 @@ class ExportsWalletTransactions implements FromQuery, WithHeadings, WithHeadingR
|
||||
$company = $transaction->owner->owner;
|
||||
|
||||
return [
|
||||
'<<New>>',
|
||||
'<<New>>',
|
||||
$transaction->updated_at->format('d/m/Y'),
|
||||
$company->debtor,
|
||||
'',
|
||||
$company->debtor,
|
||||
'',
|
||||
$transaction->bill_no,
|
||||
'',
|
||||
'500-0000',
|
||||
'MYR',
|
||||
$transaction->reference,
|
||||
'W1',
|
||||
'CREDIT SALES',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
1,
|
||||
1,
|
||||
$transaction->amount,
|
||||
$transaction->amount,
|
||||
'500-0000'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user