@extends('layouts.app') @section('include_css') @endsection @section('content')

Cheques List






@foreach ($cheques as $cheque) @endforeach
Customer Cheque NO Received Date Cheque Date Payment Type Cheque Return Ref Number Cheque Return Date {{ __('xpayment::payment.labels.payment_amount') }} {{ __('xpayment::payment.labels.payment_status') }} {{ __('common.labels.action') }}
{{ $cheque->customer->company_name }} {{ $cheque->payment_ref_no }} {{ $cheque->payment_date }} {{ $cheque->cheque_date }} {{ $cheque->cheque_payment_type }} {{ $cheque->cheque_rtn_ref_no ?? 'N/A' }} {{ $cheque->cheque_return_date }} {{ App\Http\Helper::formatPrice($cheque->payment_amount) }} @if ($cheque->status == 0) Pending @elseif ($cheque->status == 2) Reject @else Cleared @endif @php $approve_or_reject_cheque_payment_permission = false; if (Auth::user()->can('MANAGE_CHEQUE_PAYMENT')) { $approve_or_reject_cheque_payment_permission = true; } @endphp @if ($approve_or_reject_cheque_payment_permission) @if ($cheque->status == 0) @elseif ($cheque->status == 1) @endif @endif
{{ $cheques->appends($_GET)->links() }}
@endsection @section('custom_script') @endsection