@extends('hr_main') @section('title', '| ' . $data['pageTitle']) @section('content')
{!! $data['pageTitle'] !!}
Employee Info
{!! Form::open([ 'url' => url('hr/reporting-boss-config-store'), 'id' => 'formId', 'class' => 'form', 'method' => 'post', ]) !!}
{!! Form::label('group_id_fk', 'Group', ['class' => 'control-label']) !!} * {!! Form::select('group_id_fk', ['' => 'Select any'] + $data['groupData'], null, [ 'class' => 'form-control getCompany', 'id' => 'group_id_fk', ]) !!}

{!! Form::label('company_id_fk', 'Company', ['class' => 'control-label']) !!} * {!! Form::select('company_id_fk', ['' => 'Select any'], null, [ 'class' => 'form-control getProject', 'id' => 'company_id_fk', ]) !!}

{!! Form::label('project_id_fk', 'Project', ['class' => 'control-label']) !!} * {!! Form::select('project_id_fk', ['' => 'Select any'], null, [ 'class' => 'form-control', 'id' => 'project_id_fk', ]) !!}

{!! Form::label('department_id_fk', 'Department', ['class' => 'control-label']) !!} * {!! Form::select('department_id_fk', ['' => 'Select any'] + $data['departmentList'], null, [ 'class' => 'select2 form-control', 'id' => 'department_id_fk', ]) !!}

{!! Form::label('applicableFor', 'Applicable For', ['class' => 'control-label']) !!} {!! Form::select('applicableFor', $data['applicableFor'], null, [ 'class' => 'form-control', 'id' => 'applicableFor', ]) !!}

{!! Form::label('employee_or_position_for', 'Type Of Position / Employee', ['class' => 'control-label']) !!} {!! Form::select('employee_or_position_for', $data['employeeOrPosition'], null, [ 'class' => 'form-control', 'id' => 'employee_or_position_for', ]) !!}

{!! Form::label('position_id_fk', 'Position', ['class' => 'control-label']) !!} * {!! Form::select('position_id_fk', ['' => 'Select any'] + $data['designations'], null, [ 'class' => 'select2 form-control', 'id' => 'position_id_fk', ]) !!}

{!! Form::label('effect_date', 'Effect Date', ['class' => 'control-label']) !!} * {!! Form::text('effect_date', null, [ 'class' => 'form-control datepicker', 'autocomplete' => 'off', 'id' => 'effect_date', ]) !!}

{!! Form::label('effect_until', 'Effect Until Date', ['class' => 'control-label']) !!} {!! Form::text('effect_until', null, [ 'class' => 'form-control datepicker', 'autocomplete' => 'off', 'id' => 'effect_until', 'disabled' => 'disabled', ]) !!}

{!! Form::label('configuration_for', 'Configuration For', ['class' => 'control-label']) !!} * {!! Form::select('configuration_for', ['' => 'Select any'] + $data['configurationFor'], null, [ 'class' => 'form-control', 'id' => 'configuration_for', ]) !!}


Boss Selection
Steps Applicable For Position / Employee Department Designation Employee Action
{!! Form::text('step_index[]', '', [ 'class' => 'form-control text-center js-step', 'required' => 'required', 'readonly' => 'readonly', ]) !!} {!! Form::select('boss_applicableFor[]', $data['applicableFor'], null, [ 'class' => 'form-control boss_applicableFor', 'required' => 'required', ]) !!} {!! Form::select('boss_employee_or_position[]', $data['employeeOrPosition'], null, [ 'class' => 'form-control boss_employee_or_position', 'required' => 'required', ]) !!} {!! Form::select('boss_department_id_fk[]', ['' => 'Select any'] + $data['departmentList'], null, [ 'class' => 'select2 form-control js-employee', ]) !!} {!! Form::select('boss_position_id_fk[]', ['' => 'Select any'] + $data['designations'], null, [ 'class' => 'select2 form-control js-designation', ]) !!} {!! Form::select('boss_employee_id_fk[]', ['' => 'Select any'], null, [ 'class' => 'select2 form-control boss_employee_id_fk', ]) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection @section('footerAssets')