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

Cheques List









  
   Reset
@foreach ($cheques as $cheque) {{-- --}} @endforeach
Customer Cheque NO Received Date Cheque Date 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}} @if (!empty($cheque->invoice_payment)) {{ $cheque->invoice_payment->invoice->invoice_code }} @else - @endif {{$cheque->payment_date}} {{$cheque->cheque_date}} {{$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