@extends('layouts.master') @section('styles') @endsection @section('content')

Report Management

Export Excel

Monthly SR KPI Evaluation Report

@if($request->type == 'monthWise') @endif @if (collect($data['data'])->count()>0) @php $count = 0; @endphp @foreach (collect($data['data']) as $v) @if($v->sale_distributor_id > 0) @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 @if($v->ttl_target == 0) @else @endif @endif @endif @endforeach @endif
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 ValueTTL. Target Units TTL. Target Units Value Achievement % Daily Run Rate Required Run RateAVG 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)}}{{number_format($v->ttl_target)}} {{number_format($v->ttl_target_value,2)}}NA{{number_format($v->net_unit_sale > 0 && $v->ttl_target > 0 ? ($v->net_unit_sale/$v->ttl_target)*100:0,2)}}%{{$tgt->daily_run_rate}} {{$tgt->required_run_rate}}{{number_format($v->avg_bill_value,2)}} {{number_format($v->avg_sku_per_order,2)}} {{number_format($v->avg_drop_size,2)}}
@endsection @section('scripts') @endsection