E-Invoice - Automapping Issues, Receive Payment Deposit Entry Report (Export) Update

This commit is contained in:
Dillon Ngo
2025-08-13 02:32:09 +08:00
parent 15d9127eec
commit bdd54cbe31
@@ -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