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

Order {{$type==1?'RETURN':''}} Invoice Details

{{--
--}}
@csrf @if(marketing_customer())
@endif
{{-- --}} @php $i=0; $categoryPros=count($orderInvoice->transactions)>0?$orderInvoice->transactions->groupBy('product.cat_code'):(count($orderInvoice->fgTransactions)>0?$orderInvoice->fgTransactions->groupBy('product.cat_code'):$orderInvoice->details->groupBy('product.cat_code')); @endphp @forelse ($categoryPros as $categoryProduct) @forelse ($categoryProduct as $k=>$item) @php $i++; @endphp @empty @endforelse @empty @endforelse
# PRODUCT Unit QuantityDelivered Qty
{{$categoryProduct->first()->product->catByCatCode?$categoryProduct->first()->product->catByCatCode->name_eng:''}}
{{ ($i+1) }}
{{ ($item->product->primaryUnit ? $item->product->primaryUnit->name : '') }} {{-- onchange="updateOrderValue('{{$item->id}}',this.value)" --}}

@endsection @section('script') @stop