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

Report Management

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

Monthly Sales By Retail Outlet Report

@if(collect($data)->count()>0) @foreach(collect($data) as $item) @endforeach @endif
Shop ID Shop Name Shop Phone Shop Address Added By Neighbourhood Segment Channel Assign To Route Name ASM/TSM Distributor Name Total Visits Total Orders Productivity Total Revenue AVG SKUs/Bill AVG Drop/Size AVG Bill Value
{{$item->retailer_id}} {{$item->retailer_name}} {{$item->retailer_phone}} {{$item->retailer_address}} {{$item->added_by}} {{$item->neighbourhood}} {{$item->segment}} {{$item->channel}} {{$item->assigned_to}} {{$item->route}} {{$item->asm_tsm}} {{$item->distributor_name}} {{$item->unique_visits}} {{$item->unique_orders}} {{($item->unique_visits!=0)? number_format($item->unique_orders/$item->unique_visits*100,2) : 0}}% {{number_format($item->revenue,2)}} {{number_format($item->avg_sku,2)}} {{number_format($item->avg_drop_size,2)}} {{($item->unique_orders!=0)? number_format($item->revenue/$item->unique_orders,2) : 0}}
@endsection @section('scripts') @endsection