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

Report Management

Export Excel

Retailer Wise Monthly Report

{{-- @dd($data['data'][0]);--}}
@foreach($data['months'] as $m) @endforeach @if (collect($data['data'])->count()>0) @foreach ($data['data'] as $item) @foreach($data['months'] as $m) @endforeach @endforeach @endif
Retailer ID Retailer Name Assigned To Route Reporting To Segment Channel{{$m}}
{{$item->retailer_id}} {{$item->retailer_name}} {{$item->assigned_to}} {{$item->route}} {{$item->reporting_to}} {{$item->segment}} {{$item->channel}}{{number_format(@$item->$m,2)}}
@endsection @section('scripts') @endsection