@extends('layouts.app') @section('title', 'Merchants') @section('subtitle', 'Everyone using the platform, with their collections.') @section('content')
| Merchant | Orders | Paid | Collected | Status | Joined | |
|---|---|---|---|---|---|---|
|
{{ $merchant->displayName() }}
{{ $merchant->email }}{{ $merchant->phone ? ' · '.$merchant->phone : '' }}
|
{{ number_format($merchant->orders_count) }} | {{ number_format($merchant->paid_orders_count) }} | ₹{{ number_format($merchant->paid_amount ?? 0, 2) }} | {{ $merchant->is_active ? 'Active' : 'Disabled' }} | {{ $merchant->created_at->format('d M Y') }} |