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

SR Wise Booking Vs Execution Report

{{--{{dd($data)}}--}}
Export Excel

Month Wise

@if(collect($data)->count()>0) @foreach(collect($data) as $key => $item) @endforeach @endif
SN Order Booker ID Order Booker Name ASM/TSM Distributor Booked Orders Executed Orders Pending Orders Cancelled Orders Spot/Counter Sale Orders Booked Units Dispatched Units Executed Units Cancelled Units Spot/Counter Sale Units Total Booking Total Dispatch Total Execution Total Pending Sales Spot/Counter Sales Execution Cancellation
{{$key+1}} {{$item->employee_id}} {{$item->employee}} {{$item->asm_tsm}} {{$item->distributor_name}} {{number_format($item->booked_orders, 2)}} {{number_format($item->executed_orders, 2)}} {{number_format($item->pending_orders, 2)}} {{number_format($item->cancelled_orders, 2)}} {{number_format($item->spot_sale_orders, 2)}} {{number_format($item->booked_units, 2)}} {{number_format($item->dispatched_units, 2)}} {{number_format($item->executed_units, 2)}} {{number_format($item->cancelled_units, 2)}} {{number_format($item->spot_sale_units, 2)}} {{number_format($item->booked_revenue, 2)}} {{number_format($item->dispatched_revenue, 2)}} {{number_format($item->executed_revenue, 2)}} {{number_format($item->pending_revenue, 2)}} {{number_format($item->spot_sale_revenue, 2)}} {{number_format($item->executed_units == 0 || $item->booked_units == 0?0:($item->executed_units/$item->booked_units)*100, 2)}}% {{number_format($item->cancelled_units == 0 || $item->booked_units == 0?0:($item->cancelled_units/$item->booked_units)*100, 2)}}%
@endsection @section('scripts') @endsection