@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-exchange-rate.index')}}">{{__('administrator.exchange_rate')}}</a></li>
        </ol>
    </div>
    <div class="page">
        <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.exchange_rate')}}</h3>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        {!! Form::open(array('route' => 'hr-exchange-rate.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.exchange_rate')}}
                            <i>({{__('administrator.fields_in_red_are_required')}})</i></h3>
                    </div>
                    <div class="col-sm-offset-3 col-sm-6">
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required"  for="name">{{__('administrator.general_rate')}}</label>
                            </div>
                            <div class="col-sm-8">
                                {!! Form::number('gen_rate', null, array('placeholder' => __('administrator.general_rate'),'class' => 'form-control number-only','autocomplete'=>'off','required')) !!}
                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required"  for="name">{{__('administrator.khmer_rate')}}</label>
                            </div>
                            <div class="col-sm-8">
                                {!! Form::number('khmer_rate', null, array('placeholder' => __('administrator.khmer_rate'),'class' => 'form-control number-only','autocomplete'=>'off','required')) !!}
                            </div>
                        </div>
{{--                        <div class="form-group col-sm-12 col-xs-12">--}}
{{--                            <div class="col-sm-3 col-xs-12 ">--}}
{{--                                <label class="required"  for="name">{{__('administrator.thai_rate')}}</label>--}}
{{--                            </div>--}}
{{--                            <div class="col-sm-8">--}}
{{--                                {!! Form::number('thai_rate', null, array('placeholder' => __('administrator.thai_rate'),'class' => 'form-control number-only','step' => 'any','autocomplete'=>'off','required')) !!}--}}
{{--                            </div>--}}
{{--                        </div>--}}
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class=""  for="name">{{__('administrator.date')}}</label>
                            </div>
                            <div class="col-sm-8">
                                {!! Form::text('date', null, array('placeholder' => __('administrator.date'),'class' => 'form-control date_picker','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




