@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ Form::open(['url' => route('tax_create'), 'method'=>'POST', 'name' => 'tax', 'id' => 'tax']) }}
{{ Form::label(__('lbl.title')) }} {{ Form::text('title', old('title'), ["class"=>"form-control mxlen_20","placeholder"=>__('lbl.title'),"id"=>"title","name"=>"title"]) }} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{{ Form::label(__('lbl.current_rate')) }} {{ Form::text('amount', Input::old('amount'), ["class"=>"form-control mxlen_8 numer_float_only","onkeypress"=>"return validateFloatKeyPress(this,event);", "placeholder"=>__('lbl.current_rate'),"id"=>"amount","name"=>"amount"]) }} @if ($errors->has('amount')) {{ $errors->first('amount') }} @endif
{{ Form::label(__('lbl.rounding')) }} {{ Form::select('rounding', [""=>"---Select Status---", "Math"=>__('lbl.math'),"Ceiling"=>__('lbl.celling') ],Input::old('rounding'),["class"=>"form-control","id"=>"rounding","name"=>"rounding"]) }} @if ($errors->has('rounding')) {{ $errors->first('rounding') }} @endif
{{ Form::label(__('lbl.agency')) }} {{ Form::select('agency', !empty($agency) ? $agency : ["0"=>"---Select Agency---"], '',["class"=>"form-control select2","id"=>"agency","name"=>"agency"]) }} @if ($errors->has('agency')) {{ $errors->first('agency') }} @endif
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/lib/select2/dist/js/select2.full.min.js','js/backend/tax/add_edit.js'])!!} @stop