@extends('admin.layout.master') @section('title','WORK ORDER MANAGEMENT') @section('custom_style') @endsection @section ('content')

WORK ORDER INDEX

{{--
--}}
{{--
--}} {{-- end --}}
@php $statusArray=[0=>'PENDING',1=>'ACCEPTED']; $action_id=703; @endphp @forelse ($orders as $i=>$wo) @empty @endforelse
# Order No Date Party Total Order QTY Note Status Action
{{ ($i+1) }}
{{$wo->po_no}}
{{date('d-m-Y',strtotime($wo->created_at))}}
{{$wo->party->name_eng}}
{{$wo->total_qty}}
{{$wo->note}}
{{$statusArray[$wo->status]}} @if(checkAuthPermission('pre_sells.wo_print')) @endif {{-- @if($wo->status==0) --}} {{-- --}} {{-- --}} {{-- Make WO --}} {{-- @endif --}} @if($wo->status==0) {{-- --}} {{-- @elseif($wo->status==1) --}} {{-- --}} {{-- @if($wo->status==1) --}} {!! getApprovalInputField($wo->id,$action_id) !!} {{-- @endif --}} @endif

@include('inventory.prepurchase.quotation.quotation_details_modal') @endsection @section('script') @stop