@extends('layouts.app') @section('content')

Agency Profile

@include('agent.header')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif

Wallet Balance

{{ $agency->wallet->balance .' '. $agency->currency->c_shortname }}

Wallet Transaction History ( Laset 10 Transactions )

@foreach($wallet_transactions as $txn) @endforeach
Date Type Remarks Amount Balance Amt
{{ $txn->created_at->format('d M Y H:i') }} {{ ucfirst($txn->type) }} {{ ucfirst($txn->reference_id) }} {{ $txn->type === 'deposit' ? '+' : '-' }} {{ number_format($txn->amount, 3) }} {{ number_format($txn->balance_after, 3) }}
@endsection @section('scripts') @endsection