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

Product Material Info

Product Packing
@php $item = $productMaterial->firstWhere('material_type_id', '61'); @endphp @if($item) @endif
Article No: {{$productType['article_no']}} Product Name: {{$productType['name']}} Size: {{$productType['hname']}}
Box No: {{$item->material_no}} Box Name: {{$item->name}} Quantity in Box: {{1/$item->quantity}} {{$productType['uname']}}
Details:
@php echo $item->description @endphp
Product Material
@if($productMaterial->count()) @php $count = 1; @endphp @foreach($productMaterial as $item) @unless($item->material_type_id == '61') @endunless @endforeach @endif
Sr. Material No Material Quantity Unit
Article No:   {{$productType['article_no']}} Size:   {{$productType['hname']}}
{{$count++}} {{$item->material_no}} {{$item->name}} {{$item->quantity}} {{$item->hname}}
@endsection