@extends('layouts.admin') @section('title', 'Merchants Management - Admin') @section('content')

Merchants Management

Manage and monitor all merchant accounts

Add Merchant
@if(session('success')) @endif @if(session('error')) @endif

Total Merchants

{{ $stats['total'] }}

Active

{{ $stats['active'] }}

Total Parcels

{{ number_format($stats['total_parcels']) }}

Revenue

Rs. {{ number_format($stats['total_revenue'], 0) }}

Clear
@forelse($merchants as $merchant) @empty @endforelse
Merchant Actions
{{ substr($merchant->name, 0, 1) }}
{{ $merchant->name }}
{{ $merchant->email }}
{{ $merchant->company_name }}
@if(!$merchant->is_approved)
@csrf
@endif
@csrf @method('DELETE')

No merchants found

Try adjusting your filters or add a new merchant

@if($merchants->hasPages())
@if($merchants->onFirstPage()) Previous @else Previous @endif @if($merchants->hasMorePages()) Next @else Next @endif
@endif
@endsection