mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
E-Invoice - Automapping Issues, Receive Payment Deposit Entry Report (Export) Update
This commit is contained in:
@@ -31,6 +31,7 @@ class ExportsReceivePaymentDepositEntryReport implements FromQuery, WithHeadings
|
||||
public function headings(): array
|
||||
{
|
||||
return [
|
||||
'DocNo',
|
||||
'DocDate',
|
||||
'DebtorCode',
|
||||
'Description',
|
||||
@@ -75,7 +76,7 @@ class ExportsReceivePaymentDepositEntryReport implements FromQuery, WithHeadings
|
||||
|
||||
$paymentMethod = '';
|
||||
if($transaction->payment_method == PaymentMethodType::WALLET){
|
||||
$paymentMethod = 'Wallet Deposit - Exc';
|
||||
$paymentMethod = 'WALLET DEPOSIT - EXC';
|
||||
if($owner instanceof Booking){
|
||||
return[];
|
||||
}
|
||||
@@ -85,6 +86,7 @@ class ExportsReceivePaymentDepositEntryReport implements FromQuery, WithHeadings
|
||||
}
|
||||
|
||||
return [
|
||||
'<<New>>', //DocNo
|
||||
$formattedDocumentDate, //DocDate
|
||||
$company ? $company->debtor : '', //DebtorCode
|
||||
$booking ? $booking->marking : '', //Description
|
||||
|
||||
Reference in New Issue
Block a user