My Dashboard
@elseif($role === 'sales')Sales Dashboard
@elseAdmin Dashboard
@endif{{ $role === 'broker' ? 'My Bookings' : 'Total Bookings' }}
{{ $total_bookings ?? 0 }}
{{ $bookings_this_week ?? 0 }} this week • {{ $bookings_this_month ?? 0 }} this monthConfirmed
{{ $confirmed_bookings ?? 0 }}
{{ $pending_bookings ?? 0 }} pending • {{ $cancelled_bookings ?? 0 }} cancelledRevenue (Confirmed)
{{ $currency }}{{ number_format((float)($total_revenue ?? 0), 2, '.', ',') }}
{{ $currency }}{{ number_format((float)($revenue_this_month ?? 0), 2, '.', ',') }} this monthTeam
{{ ($total_brokers ?? 0) + ($total_sales ?? 0) }}
{{ $total_brokers ?? 0 }} brokers • {{ $total_sales ?? 0 }} salesRevenue This Year
{{ $currency }}{{ number_format($revenue_this_year ?? 0, 0) }}
{{ now()->year }}Commission Pending
{{$currency}}{{ number_format($commission_pending ?? 0, 0) }}
Awaiting approvalCommission Paid
{{$currency}}{{ number_format($commission_paid ?? 0, 0) }}
{{$currency}}{{ number_format($commission_approved ?? 0, 0) }} approved{{ $role === 'broker' ? 'My Activity' : 'Bookings & Revenue' }} — {{ ucfirst($period) }}
Booking Status
Top Brokers by Bookings
Commission Pipeline
Download Reports
| # | Unit | Client | @if($role !== 'broker')Broker | @endifPrice | @if(in_array($role, ['broker','super_admin']))Commission | @endifStatus | Date |
|---|---|---|---|---|---|---|---|
| {{ $b->id }} |
{{ $b->plot_number }}
{{ $b->plot_type }}
|
{{ $b->isBrokerBooking() ? ($b->client_name ?: $b->name) : $b->name }}
{{ $b->isBrokerBooking() ? ($b->client_phone ?: $b->phone) : $b->phone }}
|
@if($role !== 'broker')
@if($b->isBrokerBooking() && $b->broker) 🤝 {{ $b->broker->name }} @else Direct @endif | @endif{{ $b->price }}
@if($b->total_amount)
Total: ₹{{ number_format($b->total_amount,2) }}
@endif |
@if(in_array($role, ['broker','super_admin']))
@if($b->commission_amount)
{{$currency}}{{ $b->commission_amount }}
@php $cs=$b->commission_status; $cc=['pending'=>'warning','approved'=>'success','paid'=>'primary','rejected'=>'danger']; @endphp
{{ ucfirst($cs) }} @else — @endif |
@endif
{!! $b->bookingStatusBadge() !!} | {{ $b->created_at->format('d M Y') }} |
| No bookings yet. | |||||||