Manual Collection
{{__('Add Collection')}}
SL
Dealer
Customer
Sale Bill Number
Amount (TK)
Payment Method
Transaction ID
Payment Date
Remarks
Status
Created By
Approved By
Actions
@foreach($manualPaymentCollections as $collection)
{{ $loop->iteration }}
{{ $collection->productOrder->dealer_detail->proprietor_name }}
({{ $collection->productOrder->dealer_detail->shop_name }})
{{ $collection->productOrder->customer_detail->cust_nid_name_en }}
({{ $collection->productOrder->customer_detail->user->mobile_number }})
{{ $collection->productOrder->bill_number }}
{{ number_format($collection->amount, 2) }}
{{ $collection->payment_method }}
{{ $collection->payment_txn_id ?? '-'}}
{{ $collection->created_at }}
{{ $collection->remarks ?? '-' }}
{{ ucfirst($collection?->manualPaymentCollection?->status ?? '-') }}
{{
$collection?->manualPaymentCollection?->createdBy
? $collection?->manualPaymentCollection?->createdBy->name . ' ('. $collection?->manualPaymentCollection?->createdBy->username . ')'
: '-'
}}
{{
$collection?->manualPaymentCollection?->operatedBy
? $collection?->manualPaymentCollection?->operatedBy->name . ' ('. $collection?->manualPaymentCollection?->operatedBy->username . ')'
: '-'
}}
@can('update', $collection?->manualPaymentCollection)
productOrder->order_number }}',
bill_number: '{{ $collection->productOrder->bill_number }}',
customer_name: '{{ $collection->productOrder->customer_detail->cust_nid_name_en }} ({{ $collection->productOrder->customer_detail->user->mobile_number }})',
dealer_name: '{{ $collection->productOrder->dealer_detail->proprietor_name }}',
id: {{ $collection?->id }},
amount: '{{ $collection?->amount }}',
payment_method: '{{ $collection?->payment_method }}',
payment_txn_id: '{{ $collection?->payment_txn_id }}',
payment_date: '{{ $collection?->created_at }}',
remarks: '{{ $collection?->remarks }}',
};
$dispatch('show-edit-modal')
"
>
@endcan
@can('approve', $collection?->manualPaymentCollection)
id }} })">
@endcan
@can('reject', $collection?->manualPaymentCollection)
id }} })">
@endcan
@endforeach
{{ $manualPaymentCollections->withQueryString()->links() }}
{{-- approve Modal--}}
Confirm Approval
Are you sure you want to approve this payment?
Cancel
{{-- reject modal --}}
Confirm Rejection
Are you sure you want to delete this payment?