| Employee | Services | Earned | Paid | Balance | Actions |
|---|---|---|---|---|---|
|
{{ strtoupper(substr($emp->name, 0, 1)) }}
{{ $emp->name }}
{{ $emp->display_role }}
|
{{ count($empBd) }} | KSh {{ number_format($earned, 2) }} | KSh {{ number_format($paid, 2) }} | @if($balance > 0) KSh {{ number_format($balance, 2) }} @elseif($balance < 0) KSh {{ number_format($balance, 2) }} @else Settled @endif |
@if(count($empBd))
@endif
@if($balance > 0)
@elseif($earned > 0)
Settled
@endif
|
| No commission data for this period. | |||||
| Totals | KSh {{ number_format($tE, 2) }} | KSh {{ number_format($tP, 2) }} | KSh {{ number_format($tB, 2) }} | ||