@section('stylesheets') @endsection
{!! Form::open(array('files'=>'false', 'role' => 'form', 'class'=>'form')) !!}
Function
{!! Form::label('group_id_fk', $data['attributes']['group_id_fk'], ['class' => 'control-label']) !!} {!! Form::select('group_id_fk', $data['groupData'], $data['model']->group_id_fk, ['class' => 'form-control getCompany', 'id' => 'group_id_fk']) !!}

{{ $errors->first('group_id_fk') }}

{!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'control-label']) !!} {!! Form::select('company_id_fk', [''=>'Select any'], $data['model']->company_id_fk, ['class' => 'form-control getProject', 'id' => 'company_id_fk']) !!}

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

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

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

{!! Form::label('position_id_fk', $data['attributes']['position_id_fk'], ['class' => 'control-label']) !!} {!! Form::select('position_id_fk', $data['designations'], $data['model']->position_id_fk, ['class' => 'form-control', 'id' => 'position_id_fk']) !!}

{{ $errors->first('position_id_fk') }}

{!! Form::label('function_id_fk', $data['attributes']['function_id_fk'], ['class' => 'control-label']) !!} {!! Form::select('function_id_fk', $data['functions'], $data['model']->function_id_fk, ['class' => 'form-control', 'id' => 'function_id_fk']) !!}

{{ $errors->first('function_id_fk') }}

Settings For
Boss Selections
@if( isset($data['reportingBossSteps']) && $data['reportingBossSteps']->count() > 0) @foreach($data['reportingBossSteps'] as $reportingBossStep) @endforeach @else @endif
Steps Designation Employee Actions
{!! Form::text('attr[step_index][]', $reportingBossStep->step_index, ['class' => 'form-control text-center js-step', 'required'=>'required']) !!} {!! Form::select('attr[position_id_fk][]', $data['designations'], $reportingBossStep->position_id_fk, [ 'class' => 'form-control js-designation', 'required'=>'required']) !!} {!! Form::select('attr[emp_id_fk][]', $data['helper']->getEmployeeByDesignationId($reportingBossStep->position_id_fk), $reportingBossStep->emp_id_fk, [ 'class' => 'form-control js-employee', 'disabled'=> ($data['model']->settings_for == 'Branch' ? true : false) ]) !!}
{!! Form::text('attr[step_index][]', '', ['class' => 'form-control text-center js-step', 'required'=>'required']) !!} {!! Form::select('attr[position_id_fk][]', $data['designations'], null, [ 'class' => 'form-control js-designation', 'required'=>'required']) !!} {!! Form::select('attr[emp_id_fk][]', [], null, ['class' => 'form-control js-employee']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@section('footerAssets')