@extends('inventory.layout') @section('title', 'Routing Form') @section('content') @push('head') @endpush
@foreach($dataorder as $j=>$order) {{--json_encode($order)--}}

@foreach($steps as $i=>$step) {{--$i--}} @if($step->stageid == $order->stageid)
Step {{($i+1) }}. {{ ($step->stepName) }}
@if(in_array($step->id,$stepform) && $orders->id==$order->orderno) @if($step->formid!='') @elseif($step->stepName== 'Do the M/I using the appropriate form (Physical/CAD).') @endif @else @if($step->formid!='') @elseif($step->stepName== 'Assign and schedule measurement/ inspection to:') @elseif($step->stepName== 'Do the M/I using the appropriate form (Physical/CAD).') @endif @endif
{{----}} {{ ($step->formname) }}{{----}} @elseif($step->stepName== 'Assign and schedule measurement/ inspection to:')
{{ ($step->formname) }}
@endif @endforeach @if(in_array($order->stageid,$chstageid) && ($order->dateofcompletion!='') || $order->orders_id==$order->orderno) @else @endif
@endforeach
@push('script') @endpush @endsection