@extends('index') @section('content')

Daily Issuance

@csrf
Good job!
Select Order
Good job!
Select Employee / Vendor
Good job!
Good job!
@if(!empty($dfrom) && !empty($dto))
Date From: {{date("d-m-Y", strtotime($dfrom))}} Date To: {{date("d-m-Y", strtotime($dto))}}
@endif
@if($issueItem->count()) @php $index = 1; $product_id = ''; $size = ''; $issueItem = $issueItem->unique(function ($item) { return $item->product_type_id . '|' . $item->ifname; }); @endphp @foreach($issueItem as $item) @php $currentKey = $item->product_type_id . '|' . $item->ifname; $minAvg = isset($average[$currentKey]['min_avg']) ? $average[$currentKey]['min_avg'] : '0'; @endphp @if($minAvg > 0) @if($item->product_id == $product_id) @else @endif @if($item->sname == $size) @else @endif @endif @php $product_id = $item->product_id; $size = $item->sname @endphp @endforeach @else @endif
Sr. Article No Item / Product Size Stage Quantity
{{$index++}}{{$item->article_no}} {{$item->pname}}{{$item->sname}}{{$item->ifname}} {{$minAvg}} {{$item->puname}}
No data available in table
Sr. Article No Item / Product Size Stage Quantity
@endsection