@if (session()->has('success')) @endif @if (session()->has('error')) @endif @if ($trxs == null && $trxs->count() < 1) @endif @if ($trxs != null && $trxs->count() > 0)
Payments
@if ($trxs->count() < 1) @endif @if ($trxs->count() > 0) @foreach ($trxs as $index => $trx) @endforeach @endif
# Refrence Number Student No. Amount Exam type Exam year Status Date
No Transactions
{{ $index + 1 }} {{ $trx->refrencenumber }} {{ $trx->studentno }} {{ $trx->amountpaid }} {{ $trx->examtype ? $trx->examtype->examcode : '' }} {{ $trx->examyear ? $trx->examyear->year : '' }} {{ $trx->status }} {{ $trx->created_at ? $trx->created_at->format('d-M-Y') : '' }}
@else

No Transactions

@endif