@lang('base/diot.document_title')

@include('flash::message') @if (!$errors->isEmpty()) @endif

@lang('general.text_add')

{!! Form::open(['route' => 'diots.store','method' => 'POST','class' => '','role' => 'form','id'=>'form']) !!} {!! Form::hidden('key', old('key','')) !!}
{!! html_entity_decode(Form::label('name', __('base/diot.entry_name') . ' *', ['class' => 'control-label'])) !!} {!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => __('base/diot.help_name'),'required','autofocus']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! html_entity_decode(Form::label('year', __('base/diot.entry_year') . ' *' , ['class' => 'control-label'])) !!} {!! Form::select('year', $years,request()->input('year',\Date::now()->format('Y')), ['class' => 'form-control','required']) !!} @if ($errors->has('year')) {{ $errors->first('name') }} @endif
{!! html_entity_decode(Form::label('month', __('base/diot.entry_month') . ' *' , ['class' => 'control-label'])) !!} {!! Form::select('month', $months,request()->input('month',''), ['class' => 'form-control','required']) !!} @if ($errors->has('month')) {{ $errors->first('name') }} @endif
@lang('base/diot.column_line_customer_type') @lang('base/diot.column_line_operation_type') @lang('base/diot.column_line_taxid') @lang('base/diot.column_line_numid') @lang('base/diot.column_line_name') @lang('base/diot.column_line_foreign_country_code') @lang('base/diot.column_line_foreign_nationality') @lang('base/diot.column_line_iva_15_16') @lang('base/diot.column_line_iva_15_16_not') @lang('base/diot.column_line_iva_10_11') @lang('base/diot.column_line_iva_10_11_not') @lang('base/diot.column_line_border_stimulation') @lang('base/diot.column_line_border_stimulation_not') @lang('base/diot.column_line_iva_0') @lang('base/diot.column_line_exempt') @lang('base/diot.column_line_iva_detained') @lang('base/diot.column_line_iva_dev_dis_bon')
{!! Form::button(__('general.button_save'),['type' => 'submit', 'class' => 'btn btn-sm btn-primary',]) !!}
{!! Form::close() !!}