@extends('layouts.admin') @section('title', 'Wallet Status') @section('content')
Monitor merchant wallet balances and transactions
Total Balance
PKR {{ number_format($totalBalance ?? 0) }}
Active Wallets
{{ $merchants->where('wallet_balance', '>', 0)->count() }}
Low Balance
{{ $merchants->where('wallet_balance', '<', 1000)->count() }}
Total Merchants
{{ $merchants->count() }}
| Merchant | Wallet Balance | Status | Last Transaction | Actions |
|---|---|---|---|---|
|
{{ strtoupper(substr($merchant->name, 0, 2)) }}
{{ $merchant->name }}
{{ $merchant->email }}
|
PKR {{ number_format($merchant->wallet_balance ?? 0) }}
|
@php $balance = $merchant->wallet_balance ?? 0; @endphp @if($balance > 5000) Healthy @elseif($balance > 1000) Low @else Critical @endif |
{{ $merchant->updated_at->diffForHumans() }}
|
|
|
No merchant wallets found. |
||||