@extends('dealer.layouts.app', ['title' => 'Dealer Dashboard']) @push('head') @endpush @section('content')

Dealer Dashboard

Assigned merchants, commission overview, and activity snapshot.
Commission Rate: {{ number_format((float) $dealer->commission_rate, 2) }}%
Assigned Merchants
{{ $summary['merchant_count'] }}
{{ $summary['active_merchant_count'] }} active merchants
Total Payin
{{ number_format($summary['payin_total'], 2) }}
Combined amount across assigned merchants
Total Payout
{{ number_format($summary['payout_total'], 2) }}
Combined payout order amount
Estimated Commission
{{ number_format($summary['estimated_commission'], 2) }}
Calculated from total payin and your rate
Dealer Account
{{ $dealer->name }}
{{ $dealer->email }}
Assigned Merchants
Merchants assigned by admin are listed here.
@forelse ($assignedUsers as $user) @empty @endforelse
Name Username Email Status
{{ $user->name }} {{ $user->username ?: '-' }} {{ $user->email }} {{ $user->status ? 'Active' : 'Inactive' }}
No merchants assigned yet.
@endsection