@extends('print.layout') @section('title', 'Receive Issuance Information') @section('content') {{-- Receive Issuance Header Information --}}
| Sr. | Type | Article No | Material / Stage / Component | Work Done | Quantity | Unit | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | @if($item->component_product_type_id)Component | {{ $item->article_no ?? 'N/A' }} - Size {{ $item->sname ?? '' }} | {{ $item->component_article_no ?? 'N/A' }} - {{ $item->component_name ?? 'N/A' }} | @elseif($item->material_id > 0)Material | {{ $item->article_no ?? 'N/A' }} - Size {{ $item->sname ?? '' }} | {{ $item->name ?? 'N/A' }} | @elseProduct | {{ $item->article_no ?? 'N/A' }} - Size {{ $item->sname ?? '' }} | {{ $item->stage ?? 'N/A' }} | @endif@if(isset($item->work_logs) && $item->work_logs) @foreach(explode('|', $item->work_logs) as $index => $work) @php $headName = isset($head) ? $head->firstWhere('head_id', $work)?->name : null; @endphp @if($headName) {{ $headName }}@if(!$loop->last), @endif @endif @endforeach @else N/A @endif | {{ number_format($item->quantity ?? 0) }} | {{ $item->uname ?? $item->puname ?? 'N/A' }} |
| Total Items: | {{ $issueItem->count() }} | |||||||||||