mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 09:53:58 +00:00
remove the time from the "Date" column
Request from Azril: I’ve attached 3 files below: AutoMapping Excel – downloaded from the Exchange Portal Paid Invoice Excel – from the IzyIM Portal Aging Report Excel – also from the IzyIM Portal What we need from you is to remove the time from the "Date" column in each file. We only need the date value moving forward.
This commit is contained in:
@@ -94,7 +94,8 @@ class ExportsInvoiceTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
|
||||
return [
|
||||
'<<New>>',
|
||||
$row->updated_at->format('m/d/Y H:m'),
|
||||
// $row->updated_at->format('m/d/Y H:m'),
|
||||
$row->updated_at->format('m/d/Y'),
|
||||
$company->debtor,
|
||||
$row->type === TransactionType::PAYMENT ? $booking->marking : $company->reference,
|
||||
'',
|
||||
@@ -129,7 +130,8 @@ class ExportsInvoiceTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
|
||||
return [
|
||||
'<<New>>',
|
||||
Carbon::parse($row['created_at'])->format('m/d/Y H:m'),
|
||||
// Carbon::parse($row['created_at'])->format('m/d/Y H:m'),
|
||||
Carbon::parse($row['created_at'])->format('m/d/Y'),
|
||||
$row['debtor_code'],
|
||||
$row['type'] === ShippingTransactionType::PAYMENT ? $row['order_reference'] : $row['marking'],
|
||||
'',
|
||||
@@ -149,7 +151,8 @@ class ExportsInvoiceTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
|
||||
return [
|
||||
'Transaction Not Found',
|
||||
$transaction->posting_date->format('m/d/Y H:m'),
|
||||
// $transaction->posting_date->format('m/d/Y H:m'),
|
||||
$transaction->posting_date->format('m/d/Y'),
|
||||
$transaction->transaction_description.' - '.$transaction->transaction_description_2,
|
||||
$statementTransactionOwner->system,
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user