| Payment Code |
Invoice Code |
Date |
Method |
Effective Date |
Cheque Bank |
Ref # |
Remarks |
Amount |
{{-- Cheque Status | --}}
rep |
@if (!empty($old_payments))
@forelse($old_payments as $old_payment)
| {{ $old_payment->payment_code }} |
{{ $old_payment->invoice->invoice_code }} |
{{ $old_payment->payment_date }} |
{{ $old_payment->payment_method }} |
{{ $old_payment->cheque_date }} |
{{ $old_payment->bank_id ? getConfigArrayValueByKey('BANKS_LIST', $old_payment->bank_id) : 'N/A' }}
|
{{ $old_payment->payment_ref_no ?? 'N/A' }} |
{{ $old_payment->payment_remarks }} |
{{ number_format($old_payment->payment_amount, 2) }}
|
{{-- {{ $old_payment->cheque_status }} | --}}
@if (!empty($old_payment->rep_id))
@php
$rep = DB::table('users')->find(
$old_payment->rep_id,
);
@endphp
{{ $rep->username }}
@else
{{ 'N/A' }}
@endif
|
@empty
| No found data. |
@endforelse
@else
| No found data. |
@endif
@if (!empty($old_payments))
{{ $old_payments->appends($_GET)->links() }}
@endif