@extends('layouts.app') @section('title', 'Commission Due Report') @section('content')

Commission Due Report

All media agents with pending commissions

PDF Excel CSV

৳{{ number_format($data->sum('total_commission')) }}

Total Commission

৳{{ number_format($data->sum('total_paid')) }}

Total Paid

৳{{ number_format($data->sum('total_due')) }}

Total Due

@forelse($data as $i => $row) @empty @endforelse
# Agent Name Company Mobile Commission Paid Due
{{ $i + 1 }} {{ $row->name }} {{ $row->company_name ?? '—' }} {{ $row->mobile }} ৳{{ number_format($row->total_commission) }} ৳{{ number_format($row->total_paid) }} ৳{{ number_format($row->total_due) }}
No pending commissions found.
@endsection