@lang('catalogs/deduction.document_title')
@include('flash::message')
{{ $deduction->name }}
{!! Form::model($deduction,['route' => ['deductions.update',$deduction->id],'method' => 'PUT','class' => 'form-horizontal','role' => 'form','id' => 'form']) !!}
{!! Form::close() !!}
{!! html_entity_decode(Form::label('name', __('catalogs/deduction.entry_name') . ' *', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => __('catalogs/deduction.entry_name'),'required','autofocus']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! html_entity_decode(Form::label('code', __('catalogs/deduction.entry_code') . ' *', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::text('code', old('code'), ['class' => 'form-control', 'placeholder' => __('catalogs/deduction.entry_code'),'required']) !!}
@if ($errors->has('code'))
{{ $errors->first('code') }}
@endif
{!! html_entity_decode(Form::label('code2', __('catalogs/deduction.entry_code2') . '', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::text('code2', old('code2'), ['class' => 'form-control', 'placeholder' => __('catalogs/deduction.entry_code2')]) !!}
@if ($errors->has('code2'))
{{ $errors->first('code2') }}
@endif
{!! Form::label('sort_order', __('catalogs/deduction.entry_sort_order'), ['class' => 'col-md-3 col-xs-12 control-label']) !!}
{!! Form::number('sort_order', old('sort_order'), ['class' => 'form-control', 'placeholder' => __('catalogs/deduction.entry_sort_order')]) !!}
{!! html_entity_decode(Form::label('status', __('catalogs/deduction.entry_status') , ['class' => 'col-md-3 col-xs-12 control-label'])) !!}