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

Receive Issuance

@csrf
Good job!
Good job!
Good job!
{{-- --}}
Good job!
{{-- --}}

Good job!
Good job!

{{-- Component Product Type Receive Section --}} @php // Extract component products from issued items $issuedComponents = collect(); foreach($issueItem as $item) { if($item->component_product_type_id) { $issuedComponents->push($item); } } @endphp @if($issuedComponents->count())

@endif
{{-- Receive Issuance --}}
Sr. Item / Product Material / Stage Work/Cost Quantity Action
Sr. Item / Product Material / Stage Work/Cost Quantity Action
{{-- Issuance --}}
@if($issueItem->count()) @foreach($issueItem as $item) @if($item->component_product_type_id) @elseif($item->material_id > 0) @else @endif @endforeach @endif
Sr. Type Item / Product Material / Stage / Component Quantity Average
{{$loop->index + 1}}Component {{$item->article_no}} - Size {{$item->sname}} {{$item->component_article_no}} - {{$item->component_name}}Material {{$item->article_no}} - Size {{$item->sname}} {{$item->name}}Product {{$item->article_no}} - Size {{$item->sname}} {{$item->stage}}{{$item->quantity}} {{($item->uname)? $item->uname:$item->puname}} {{ $item->pqty != 0 ? bcdiv($item->quantity, $item->pqty, 1) : '0' }} Units
Sr. Type Item / Product Material / Stage / Component Quantity Average
{{-- Received --}}
@if($issueSum->count()) @foreach($issueSum as $item) @if($item->component_product_type_id) @elseif($item->material_id > 0) @else @endif @endforeach @endif
Sr. Type Article No Material / Stage / Component Quantity
{{$loop->index + 1}}Component {{$item->article_no}} - Size {{$item->sname}} {{$item->component_article_no}} - {{$item->component_name}}Material {{$item->article_no}} - Size {{$item->sname}} {{$item->name}}Product {{$item->article_no}} - Size {{$item->sname}} {{$item->stage}}{{$item->total_quantity}} {{($item->uname)? $item->uname:$item->puname}}
Sr. Type Article No Material / Stage / Component Quantity
@endsection