@extends('layouts.master') @section('content')

Detail

{{ $wo->status }}
{{ $wo->created_at}}
@foreach ($wo->product as $i => $row)
{{ strtoupper($row->product_name)}}
{{ $row->qty}}
{{ $row->unit}}
{{ $row->total_unit}}
Serial Number {{ count($row->inventory) }}
@if($row->inventory) @foreach ($row->inventory as $inven) @endforeach
@foreach ($row->inventory2 as $inven2) @endforeach
Product Serial Number Outer Serial Number Awal Serial Number Akhir Qty
{{ $inven2->product_flag }} {{ $inven2->serial_number_outer }} {{ $inven2->min_sn }} {{ $inven2->max_sn }} {{ number_format($inven2->qty,0,",",".") }}
Total {{ number_format($total,0,",",".") }}
@else
Belum terdapat inventory
@endif
@foreach ($row->chip as $key => $rc)
{{ strtoupper($rc->chip) }}
@endforeach
@endforeach
Kembali @if (in_array($wo->raw_status, array('4')) && $wo->flag == 'approved')
@endif
@if (in_array(\App\Helpers\Helpers::to_slug(Auth::user()->roles->first()->name), array('admin_produksi'))) @if (in_array($wo->raw_status, array('3')) && $wo->flag == 'approved') @elseif (in_array($wo->raw_status, array('4')) && $wo->flag == 'approved') @else @endif @endif
@endsection