
@extends('layouts.app-hr')

@section('content')
    <?php Fun::lang()?>
    <div class="top-header">
        <ol class="breadcrumb">
            <li><a href="#">{{__('administrator.dashboard')}}</a></li>
            <li><a href="{{route('hr-evaluation.index')}}">{{__('administrator.evaluation')}}</a></li>
        </ol>
    </div>
    <div class="container">
        <div class="top-content">
            <div class="row">
                <div class="col-sm-12 col-xs-12">
                    <div class="title-add">
                        <div class="pull-left">
                            <h3>{{__('administrator.evaluation')}}</h3>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        {!! Form::open(array('route' => 'hr-evaluation.store','method'=>'POST')) !!}
        <div class="row">
            <div class="col-sm-12">
                <div class="master-form ">
                    <div class="title-note">
                        <h3><span class="fa fa-exclamation-triangle"></span> {{__('administrator.evaluation')}}
                            <i>({{__('administrator.fields_in_red_are_required')}})</i></h3>
                    </div>
                    <div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class="required"  for="name">{{__('administrator.employee')}}</strong>
                                {!! Form::select('emp_id', $emp ,null, array('placeholder' => __('administrator.employee'),'class' => 'form-control select2','required')) !!}
                            </div>
                        </div>

                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.attitude')}}</strong>
                                    {!! Form::select('attitude',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.communicate')}}</strong>
                                {!! Form::select('communicate',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.work_quality')}}</strong>
                                    {!! Form::select('work_quality',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.interest')}}</strong>
                                {!! Form::select('interest',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.productivity')}}</strong>
                                    {!! Form::select('productivity',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.knowledge')}}</strong>
                                {!! Form::select('knowledge',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.technical_skill')}}</strong>
                                    {!! Form::select('technical_skill',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.teamwork')}}</strong>
                                {!! Form::select('teamwork',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.attendance')}}</strong>
                                    {!! Form::select('attendance',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.creativity')}}</strong>
                                {!! Form::select('creativity',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>

                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.enthusiasm')}}</strong>
                                {!! Form::select('enthusiasm',[
                                        ''=>__('administrator.please_select'),
                                        '5'=>'Excellent',
                                        '4'=>'Very Good',
                                        '3'=>'Good',
                                        '2'=>'Fair',
                                        '1'=>'Poor'],null, array('class' => 'form-control select2')) !!}
                            </div>
                        </div>

                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class="required"  for="name">{{__('administrator.date')}}</strong>
                                {!! Form::text('date', null, array('placeholder' => __('administrator.date'),'class' => 'form-control date_picker','autocomplete'=>'off','required')) !!}
                            </div>
                        </div>

                        <div class="form-group col-sm-3 col-xs-12">
                            <div class="">
                                <strong class=""  for="name">{{__('administrator.note')}}</strong>
                                {!! Form::text('note', null, array('placeholder' => __('administrator.note'),'class' => 'form-control','autocomplete'=>'off')) !!}
                            </div>
                        </div>

                        <div class="col-sm-11 col-xs-12">
                            <div class="form-group footer-save">
                                <button type="submit" class=" button_primary pull-right"><span
                                            class="fa fa-save"></span> {{__('administrator.save')}}</button>
                                <button type="button" onClick="history.go(-1)"
                                        class=" button_warning pull-right">
                                    <span class=" fa fa-arrow-circle-left"></span> {{__('administrator.back')}}</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        {!! Form::close() !!}
    </div>
@endsection





