@extends('layout.app') @push('styles') @endpush @section('content')

Payment Issues

@can('payment-issue-create') New Issue @endcan
@can('payment-issue-approve')
@endcan
@forelse ($issues as $issue) {{-- Who and when in one column: the date reads as a sub-line under the name rather than as a column of its own. --}} @empty @endforelse
# Type Client (CID) Transfer Client Amount Trnx ID Trnx Type Days Status Description Remarks Attachment Created By Action
{{ $issue->id }} {{ $issue->type->name ?? '—' }} {{ $issue->user_id ?? '—' }} {{ $issue->transfer_user_id ?? '—' }} {{ number_format($issue->amount, 2) }} {{ $issue->trnx_id ?? '—' }} {{ $issue->trnx_type ?? '—' }} {{ $issue->days }} @if ($issue->status === 'Complete') Complete @elseif ($issue->status === 'Cancelled') Cancelled @else Pending @endif {{ $issue->description ?: '—' }} {{ $issue->remark ?: '—' }} @if ($issue->attachment) View @else — @endif {{ $issue->createdBy->name ?? '—' }} {{ $issue->created_at->format('d-M-Y') }} {{ $issue->created_at->format('h:i A') }} @if ($issue->status === 'pending') @can('payment-issue-approve') @endcan @can('payment-issue-edit') @endcan @can('payment-issue-destroy')
@csrf @method('DELETE')
@endcan @endif
No records found.
{{ $issues->links() }}
@can('payment-issue-approve') @endcan @endsection @section('ajax') @endsection