@if(session()->has('message'))
@endif
@if(session()->has('error'))
@endif
{{ trans('labels.Successlabel') }}
{{ session()->get('message') }}{{ trans('labels.WarningLabel') }}
{{ session()->get('error') }}
{!! Form::open(array('url' => route('purchase-order.store'), 'method'=>'post', 'class' => 'form-horizontal form-validate', 'id' => 'addNewLeadSources', 'enctype'=>'multipart/form-data')) !!}
{{--
--}}
{!! Form::textarea('instruction', $result['Company_instructions']->instructions, array('class'=>'form-control instruction', 'id'=>'instruction', 'required'=>'required', 'rows'=>'6')) !!}
{!! Form::close() !!}
{{-- {!! Form::select('company_id', $result['Company_info'], '', array('class'=>'form-control company_id', 'multiple'=>'', 'id'=>'company_id', 'required'=>'required')) !!} --}}
{!! Form::text('company_name', $result['Company_info'][0]->name, array('class'=>'form-control', 'id'=>'company_name', 'required'=>'required', 'readonly'=>'readonly')) !!}
{!! Form::text('format_no', 'RHYSLEY/8.0/F/04', array('class'=>'form-control', 'id'=>'format_no', 'required'=>'required', 'readonly'=>'readonly')) !!}
{!! Form::text('rev_number', '01', array('class'=>'form-control', 'id'=>'rev_number', 'required'=>'required', 'readonly'=>'readonly')) !!}
{!! Form::text('issues_no', $issues_no, array('class'=>'form-control', 'id'=>'issues_no', 'required'=>'required', 'readonly'=>'readonly')) !!}
{!! Form::text('fqc_date', '20-01-2021', array('class'=>'form-control', 'id'=>'fqc_date', 'required'=>'required', 'readonly'=>'readonly')) !!}
{!! Form::text('date_desc', date('Y-m-d'), array('class'=>'form-control', 'id'=>'date_desc', 'readonly'=>'readonly', 'required'=>'required')) !!}
{{-- {!! Form::select('mask_type_id', $result['Suppliers'], '', array('class'=>'form-control mask_type_id', 'multiple'=>'', 'id'=>'mask_type_id', 'required'=>'required')) !!} --}}
{!! Form::text('suppliers', $result['Suppliers']->name, array('class'=>'form-control suppliers', 'id'=>'suppliers', 'required'=>'required', 'readonly'=>'readonly')) !!}
{!! Form::textarea('instruction', $result['Company_instructions']->instructions, array('class'=>'form-control instruction', 'id'=>'instruction', 'required'=>'required', 'rows'=>'6')) !!}