@extends('layouts.app') @section('title', 'Pending Approvals - Cash Book') @section('content')

Pending Approvals

Transactions that exceed category limits and require super admin approval.

@if($transactions->isEmpty())

No pending approvals

All transactions are within category limits.

@else
@foreach($transactions as $transaction) @endforeach
TRX ID Branch Category Type Amount (SAR) Method Submitted By Submitted At Actions
{{ $transaction->trx_id_display }} {{ $transaction->branch->name ?? 'N/A' }} {{ $transaction->categoryDisplayName }} {{ ucfirst($transaction->transaction_type) }} {{ number_format($transaction->amount, 2) }} {{ strtoupper(str_replace('_', ' ', $transaction->transaction_method)) }} {{ $transaction->user->name ?? 'N/A' }} {{ $transaction->submitted_for_approval_at ? $transaction->submitted_for_approval_at->format('Y-m-d H:i') : 'N/A' }}
View
@csrf
{{ $transactions->links() }}
@endif
@endsection