@if($size != '3_by_6') Material Sticker Print
@php $totalQty = count($stickers) > 0 ? $stickers[0]['qty'] : 0; @endphp @foreach ($stickers as $index => $sticker)
{{ $sticker['company_name'] }}
@if($sticker['status'] == 'Approved')
{{ $sticker['status'] }}
@elseif($sticker['status'] == 'Rejected')
{{ $sticker['status'] }}
@elseif($sticker['status'] == 'Under Test')
{{ $sticker['status'] }}
@else
{{ $sticker['status'] }}
@endif @if($sticker['status'] == 'Under Test')
@else
@endif
Material Code: {{ $sticker['material_code'] }}
Material Name: {{ $sticker['material_name'] }}
GR No.: {{ $sticker['gr_no'] }}
Po No.: {{ $sticker['po_no'] }}
Batch No.: {{ $sticker['batch_no'] }}
Quantity: {{ $index + 1 }} / {{ $totalQty }}
@if($sticker['status'] == 'Under Test')
Challan No.: {{ $sticker['challan_no'] }}
@endif
AR No.: {{ $sticker['challan_no'] }}
Supplier: {{ $sticker['supplier'] }}
@if($sticker['status'] != 'Under Test')
@if($sticker['status'] == 'Approved') Approval Dt: @else Rejected Dt: @endif {{ $sticker['approval_date'] }}
@endif
Mfg. Dt: {{ $sticker['mfg_date'] }}
Po Dt: {{ $sticker['po_date'] }}
Exp. Dt: {{ $sticker['exp_date'] }}
Pack Size: {{ $sticker['pack_size'] }}
@if($sticker['status'] == 'Under Test')
Challan Dt: {{ $sticker['challan_date'] }}
@endif
Sample Rec. Dt: {{ $sticker['exp_date'] }}
@if($sticker['status'] == 'Under Test') @endforeach
@else Material Sticker Print
@php $totalQty = count($stickers) > 0 ? $stickers[0]['qty'] : 0; @endphp @foreach ($stickers as $index => $sticker)
{{ $sticker['company_name'] }}
@if($sticker['status'] == 'Approved')
{{ $sticker['status'] }}
@elseif($sticker['status'] == 'Rejected')
{{ $sticker['status'] }}
@else
{{ $sticker['status'] }}
@endif
Material Code: {{ $sticker['material_code'] }}
Material Name: {{ $sticker['material_name'] }}
GR no: {{ $sticker['gr_no'] }}
Po no: {{ $sticker['po_no'] }}
Batch No: {{ $sticker['batch_no'] }}
Quantity: {{ $index + 1 }} / {{ $totalQty }}
@if($sticker['status'] == 'Under Test')
Challan No: {{ $sticker['challan_no'] }}
@endif
Supplier: {{ $sticker['supplier'] }}
@if($sticker['status'] != 'Under Test')
@if($sticker['status'] == 'Approved') Approval Dt: @else Rejected Dt: @endif {{ $sticker['approval_date'] }}
@endif
Mfg. Dt: {{ $sticker['mfg_date'] }}
Po Dt: {{ $sticker['po_date'] }}
Exp. Dt: {{ $sticker['exp_date'] }}
Pack Size: {{ $sticker['pack_size'] }}
@if($sticker['status'] == 'Under Test')
Challan Dt: {{ $sticker['challan_date'] }}
@endif
@if($sticker['status'] == 'Under Test') @endforeach
@endif