@extends('admin.layout') @section('content')

{{ trans('Production Order') }}

@php $getUserRoleData = userRoleData(); $ProductionOrder = explode(",",$getUserRoleData->ProductionOrder); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
{!! Form::open(array('url' => route('production-orders.update', [$result['data']->id]), 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addProductionOrder', 'enctype'=>'multipart/form-data')) !!} @method('put')
{{ trans('labels.back') }}
{!! Form::select('company_id', $result['Company_info'], $result['data']->company_id, array('class'=>'form-control company_id', 'multiple'=>'', 'id'=>'company_id', 'required'=>'required')) !!}
{!! Form::text('order_no', $result['data']->order_no, array('class'=>'form-control', 'id'=>'order_no', 'required'=>'required', 'readonly')) !!}
{!! Form::text('customer_name', $result['data']->customer_name, array('class'=>'form-control', 'id'=>'customer_name', 'required'=>'required')) !!}
{!! Form::text('date', $result['data']->date, array('class'=>'form-control', 'id'=>'date', 'readonly'=>'readonly', 'required'=>'required')) !!}
{!! Form::text('po_no', $result['data']->po_no, array('class'=>'form-control', 'id'=>'po_no', 'required'=>'required')) !!}
@php $k = 1; @endphp @foreach($result['data']['get_production_order_details'] as $key) @php $k++; @endphp @endforeach
S No. Model # Item Description Quantity Add/Remove
{{$k}} @if($k == 1) @else @endif
Total
{!! Form::close() !!}
@endsection @section('scripts') @endsection