@extends('admin.layout.master') @section('title','ORDER Summery') @section('custom_style') @endsection @section ('content')

ORDER SUMMERY

 
{{-- --}}
{{-- --}}

ORDER SUMMERY (SHOWROOM WISE)

{{-- @if(Request()->showroom && Request()->showroom!=0)
{{$customers->where('id',Request()->showroom)->first()->name_eng}}
@else
All Showroom
@endif --}} @if(Request()->date_from)
{{ 'From '.date('d-M-Y',strtotime(Request()->date_from)).' To '.date('d-M-Y',strtotime(Request()->date_to))}}
@endif @php $tr=''; @endphp @forelse ($transactions->groupBy('product.cat_code') as $k=>$categoryProduct) @forelse ($categoryProduct->groupBy('product_id') as $key=>$transacted_product) {{-- @forelse ($transacted_products as $a=>$transacted_product) --}} {{-- @if($a!='') --}} @php $tr.=''; @endphp {{-- --}} {{-- @endif --}} @empty @endforelse @empty @endforelse {!! $tr.'' !!} {{-- @forelse ($showRooms as $party_id => $showRoom) --}} @php $i=1; @endphp @forelse ($transactions->groupBy('party_id') as $key=>$showroom) @if($key!='') {{-- --}} @forelse ($transacted_products as $k=>$transacted_product) @empty @endforelse @endif @empty @endforelse @forelse ($transacted_products as $m=>$transacted_product) {{-- @if($a!='') --}} {{-- @endif --}} @empty @endforelse
# Showroom{{$categoryProduct->first()->product->catByCatCode->name_eng}}'.$transacted_product->first()->product->name_eng.'{{$transacted_product->first()->product->name_eng}}
SHOWROOM :{{$showRoom->first()->showroom->name_eng}}
Address :{{$showRoom->first()->showroom->address}}
{{$i++}} {{$showroom->first()->showroom->name_eng}}{{$showroom->first()->unit}}{{ $transacted_product->where('party_id',$key)->where('product_id',$k)->where('transaction_type','=',14)->sum('order_qty') }}
No Data Available
Total{{ $transacted_product->where('product_id',$m)->where('transaction_type','=',14)->sum('order_qty') }}

{{-- @include('inventory.order.detail_modal') --}} @endsection @section('script') @stop