@extends('layouts/pos_layout') @section('title', '| '. $data['pageTitle'] ) @section('content')
{!! $data['pageTitle'] !!}
Employee Info
{!! Form::open( [ 'url' => url('pos/reporting-boss-config/update/'.encrypt($data['model']->id)), 'class'=>'form','method'=>'post' ]) !!}
{!! Form::label('group_id_fk', 'Group', ['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', 'Company', ['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', 'Project', ['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('effect_date', 'Effect Date', ['class' => 'control-label']) !!} {!! Form::text('effect_date',date('d-m-Y',strtotime($data['model']->effect_date)), ['class' => 'form-control datepicker', 'id' => 'function','autocomplete'=>'off']) !!}

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

{!! Form::label('settings_for', 'Applicable For', ['class' => 'control-label']) !!} {!! Form::select('settings_for', [''=>'Select any' ] + $data['settingsFor'], $data['model']->settings_for, ['class' => 'form-control', 'id' => 'settings_for']) !!}

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

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

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


Boss Selection
@foreach($details->posconfigDetails as $detail) @endforeach
Steps Employee From Designation Department Actions
{!! Form::text('step_index[]',$detail->step_index, ['class' => 'form-control text-center js-step', 'required'=>'required']) !!} {!! Form::select('employee_from[]', [''=>'Select any' ] + $data['settingsFor'],$detail->employee_from, ['class' => 'form-control js-employeeform', 'required'=>'required']) !!} {!! Form::select('boss_position_id_fk[]', $data['designations'], $detail->boss_position_id_fk, ['class' => 'form-control js-designation', 'required'=>'required']) !!} {!! Form::select('boss_department_id_fk[]', ['' => 'Select any'] + $data['departmentList'], $detail->boss_department_id_fk, ['class' => 'form-control js-employee']) !!}
{!! Form::submit('Update', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@endsection