@extends('layouts.master') @section('styles') @endsection @section('content')
| Employee ID | Employee Name | Employee Status | Reporting To | Segment | Distribution | Region | Area | Territory | Assigned Shops | UNIQ. Visited Shops | Productive Shops | UNIQ. Productivity | SCH. Visits | SCH. Productivity | TTL. Visits | TTL. Orders | Visit Productivity | Gross Booked Value | Booked Units | Booked CTNs/BNDLs | NET Booked Value | Gross Executed Value | Executed Units | Executed CTNs/BNDLs | NET Executed Value | Execution % | Gross Spot Sale Value | Spot Sale Units | Spot Sale CTNs/BNDLs | NET Spot Sale Value | Gross Counter Sale Value | Counter Sale Units | Counter Sale CTNs/BNDLs | NET Counter Sale Value | TTL. Gross Sales Value | TTL. Sales Units | TTL. Sales CTNs/BNDLs | TTL. NET Sales Value | @if($request->type == 'monthWise')TTL. Target Units | TTL. Target Units Value | Achievement % | Daily Run Rate | Required Run Rate | @endifAVG Bill Value | AVG SKUs/Bill | AVG Drop Size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $v->employee_id}} | {{ $v->employee_name}} | {{ $v->employee_status}} | {{$v->reporting_to}} | {{$v->segment}} | {{$v->distributor_name}} | {{($v->region)}} | {{($v->area)}} | {{($v->territory)}} | {{number_format($v->assigned_shops)}} | {{number_format($v->uniq_visited_outlets)}} | {{number_format($v->productive_shops)}} | {{number_format($v->assigned_shops > 0 && $v->productive_shops > 0 ? ($v->productive_shops/$v->assigned_shops)*100:0,2)}} | {{number_format($v->scheduled_shops)}} | {{number_format($v->schd_prod_shops > 0 && $v->scheduled_shops > 0 ? ($v->schd_prod_shops/$v->scheduled_shops)*100:0,2)}} | {{number_format($v->visited_outlets)}} | {{number_format($v->orders)}} | {{number_format($v->orders > 0 && $v->visited_outlets > 0 ? ($v->orders/$v->visited_outlets)*100:0,2)}} | {{number_format($v->booked_gross_value,2)}} | {{number_format($v->booked_unit_sale)}} | {{number_format($v->booked_ctn_sale,2)}} | {{number_format($v->booked_sale_value,2)}} | {{number_format($v->executed_gross_value,2)}} | {{number_format($v->executed_unit_sale)}} | {{number_format($v->executed_ctn_sale,2)}} | {{number_format($v->executed_sale_value,2)}} | {{number_format($v->executed_unit_sale > 0 && $v->booked_unit_sale > 0 ? ($v->executed_unit_sale/$v->booked_unit_sale)*100:0,2)}} | {{number_format($v->spot_gross_value,2)}} | {{number_format($v->spot_unit_sale)}} | {{number_format($v->spot_ctn_sale,2)}} | {{number_format($v->spot_sale_value,2)}} | {{number_format($v->counter_gross_value,2)}} | {{number_format($v->counter_unit_sale)}} | {{number_format($v->counter_ctn_sale,2)}} | {{number_format($v->counter_sale_value,2)}} | {{number_format($v->net_gross_value,2)}} | {{number_format($v->net_unit_sale)}} | {{number_format($v->net_ctn_sale,2)}} | {{number_format($v->net_sale_value,2)}} | @if($request->type == 'monthWise') @php $tgt = TargetKPIsCalculation(date('Y-m-01', strtotime($request->date)),$v->ttl_target,$v->net_unit_sale); //required_run_rate @endphp{{number_format($v->ttl_target)}} | {{number_format($v->ttl_target_value,2)}} | @if($v->ttl_target == 0)NA | @else{{number_format($v->net_unit_sale > 0 && $v->ttl_target > 0 ? ($v->net_unit_sale/$v->ttl_target)*100:0,2)}}% | @endif{{$tgt->daily_run_rate}} | {{$tgt->required_run_rate}} | @endif{{number_format($v->avg_bill_value,2)}} | {{number_format($v->avg_sku_per_order,2)}} | {{number_format($v->avg_drop_size,2)}} |