@extends('layouts.app') @section('content') {{-- ── SUCCESS TOAST ── --}} @if(session('success'))
Success
{{ session('success') }}
@endif
{{-- ── CARD HEADER ── --}}

View Agencies

{{ $agencies->total() }} Total Add Agency
{{-- ── TABLE ── --}}
@forelse($agencies as $key => $agency) @empty @endforelse
SL Agency Balance Credit Limit Currency Country Status Action
{{ $agencies->firstItem() + $key }}
{{ $agency->agency_name }}
{{ $agency->agency_code }}
{{ $agency->agency_email }}
{{ optional($agency->wallet)->balance ?? 0 }} {{ $agency->credit_limit }} {{ $agency->currency->c_shortname }} {{ $agency->country_id }} Approved
No agencies added yet.
{{-- ── PAGINATION ── --}} @if($agencies->hasPages()) @endif
{{-- ── VIEW DETAILS MODALS ── --}} @foreach($agencies as $agency) @endforeach @endsection