@include('admin.partials.header', ['extra' => $extra])
@foreach ( $items as $key => $months )
@php
$agent=explode('-',$key);
$agent_name=$agent[0];
$agent_id=$agent[1];
$total_target_amount = 0;
$total_target_calls = 0;
$total_amount = 0;
$total_calls = 0;
@endphp
{{ $agent_name }} |
Month |
Target Calls |
Calls Achieved |
Target Amount {{$transaction->systemSettingCurrency()}} |
Amount Recovered |
@foreach ($months as $month_name => $detail)
@php
$total_target_amount += $detail->target_amount;
$total_target_calls += $detail->target_calls;
$total_amount += $detail->amount;
$total_calls += $detail->calls;
$grand_total_target_amount += $detail->target_amount;
$grand_total_target_calls += $detail->target_calls;
$grand_total_amount += $detail->amount;
$grand_total_calls += $detail->calls;
@endphp
{{ $month_name }} |
{{ $detail->target_calls }} |
{{ $detail->calls }} |
{{ $transaction->convert_money_format($detail->target_amount) }} |
{{ $transaction->convert_money_format($detail->amount) }} |
@endforeach
Total |
{{ $total_target_calls }} |
{{ $total_calls }} |
{{ $transaction->convert_money_format($total_target_amount) }} |
{{$transaction->convert_money_format($total_amount) }} |
@endforeach
@if(!$params['recovery_agent'])
Grand Total |
{{ $grand_total_target_calls }} |
{{ $grand_total_calls }} |
{{ $transaction->convert_money_format($grand_total_target_amount) }} |
{{ $transaction->convert_money_format($grand_total_amount) }} |
@endif
@stop