@extends('layouts.app') @section('content')
| Cheque # | Bank | Date | Amount | Status | Actions |
|---|---|---|---|---|---|
| {{ $p->cheque_number ?: '-' }} | {{ $p->bank_name ?: '-' }} | {{ $p->payment_date->format('Y-m-d') }} | {{ number_format($p->amount, 2) }} | @if($p->status === 'pending') pending_clearance @elseif($p->status === 'cleared') cleared @elseif($p->status === 'bounced') bounced @else {{ $p->status }} @endif | @if($p->status === 'pending') @endif |