{!! Form::open(array('role' => 'form', 'files'=>'false', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_id_fk', $data['companyData'], $data['model']->company_id_fk, ['class' => 'form-control getProject', 'id' => 'company_id_fk']) !!}

{{ $errors->error->first('company_id_fk') }}

{!! Form::label('project_id_fk', $data['attributes']['project_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('project_id_fk', array(''=>'Select any'), $data['model']->project_id_fk, ['class' => 'form-control getProjectType', 'id' => 'project_id_fk']) !!}

{{ $errors->error->first('project_id_fk') }}

{!! Form::label('project_type_id_fk', $data['attributes']['project_type_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('project_type_id_fk', array(''=>'Select any'), $data['model']->project_type_id_fk, ['class' => 'form-control getBranch', 'id' => 'project_type_id_fk']) !!}

{{ $errors->error->first('project_type_id_fk') }}

{!! Form::label('branch_id_fk', $data['attributes']['branch_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('branch_id_fk', array(''=>'Select any'), $data['model']->branch_id_fk, ['class' => 'form-control hr-select2', 'id' => 'branch_id_fk']) !!}

{{ $errors->error->first('branch_id_fk') }}

{!! Form::label('requisition_number', $data['attributes']['requisition_number'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('requisition_number', $data['model']->requisition_number, ['class' => 'form-control', 'id' => 'requisition_number', 'type' => 'text', 'readonly'=>'readonly', 'placeholder' => $data['placeholder']['requisition_number']]) !!}

{{ $errors->error->first('requisition_number') }}

{!! Form::label('requisition_date', $data['attributes']['requisition_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('requisition_date', $data['model']->requisition_date, ['class' => 'form-control datepicker', 'id' => 'requisition_date', 'type' => 'text', 'placeholder' => $data['placeholder']['requisition_date']]) !!}

{{ $errors->error->first('requisition_date') }}

{!! Form::label('department_id_fk', $data['attributes']['department_id_fk'], ['class' => 'col-sm-3 control-label']) !!} {!! Form::label('position_type_fk', $data['attributes']['position_type_fk'], ['class' => 'col-sm-3 control-label']) !!} {!! Form::label('quantity', $data['attributes']['quantity'], ['class' => 'col-sm-3 control-label']) !!}
{!! Form::select('department_id_fk[]', $data['departmentData'], '', ['class' => 'form-control getPosition', 'required'=>'required', 'id' => 'department_id_fk']) !!}

{{ $errors->error->first('department_id_fk') }}

{!! Form::select('position_type_fk[]', [''=>'Select any'], '', ['class' => 'form-control', 'required'=>'required', 'id' => 'position_type_fk']) !!}

{{ $errors->error->first('position_type_fk') }}

{!! Form::text('quantity[]', '', ['class' => 'form-control', 'id' => 'quantity', 'type' => 'text', 'required'=>'required', 'placeholder' => $data['placeholder']['quantity']]) !!}

{{ $errors->error->first('quantity') }}

{!! Form::label('note', $data['attributes']['note'], ['class' => 'col-sm-12 control-label']) !!}
{!! Form::textarea('note', $data['model']->note, ['class' => 'form-control', 'id' => 'note', 'rows' => '3', 'placeholder' => $data['placeholder']['note']]) !!}

{{ $errors->error->first('note') }}

{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@section('footerAssets')