COMMISSION REPORT
Title: {{$title}}
| Commission Report | |||||||
|---|---|---|---|---|---|---|---|
| Sr. | Date | Name | Booking Detail | Description | Amount | {{ucwords(str_replace('_',' ',EF::branchWhiteLabel()['module']))}} | Status |
| {{$loop->iteration}} | {{EF::dateFormat($rows->created_at)}} | @isset($user->id) {{ucwords($user->name)}} @endisset | {{$rows->showGenericTypeDetail($rows)['description']}} | {{ucwords($rows->description)}} | {{EF::numberFormat($rows->amount)}} | {{ucwords($rows->branch->name)}} | {{ucwords($rows->status)}} | @if($rows->status == "Approve") @php($approve_amount += $rows->amount) @elseif($rows->status == "Reversal") @php($resver_amount += $rows->amount) @endif @php($total_amount += $rows->amount)
| Total Commission (Approved payments - Reversed Payments) => ({{ EF::numberFormat($approve_amount) }} - {{ EF::numberFormat($resver_amount)}}) = {{EF::numberFormat(($approve_amount) - ($resver_amount)) }} | {{EF::numberFormat($total_amount)}} | ||||||