{!! html_entity_decode(Form::label('name', __('base/cfdi_download.entry_name') . ' *', ['class' => 'control-label'])) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => __('base/cfdi_download.entry_name'),'required']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! html_entity_decode(Form::label('expense_type_id', __('base/cfdi_download.entry_expense_type_id') . '', ['class' => 'control-label'])) !!}
{!! Form::select('expense_type_id', $expense_types,null, ['class' => 'form-control', 'placeholder' => __('general.text_select')]) !!}
@if ($errors->has('expense_type_id'))
{{ $errors->first('expense_type_id') }}
@endif
{!! html_entity_decode(Form::label('receptor', __('base/cfdi_download.entry_receptor') . ' *', ['class' => 'control-label'])) !!}
{!! Form::text('receptor', old('receptor'), ['class' => 'form-control', 'placeholder' => __('base/cfdi_download.entry_receptor'),'required']) !!}
@if ($errors->has('receptor'))
{{ $errors->first('receptor') }}
@endif
{!! html_entity_decode(Form::label('operational_type_id', __('base/cfdi_download.entry_operational_type_id') . '', ['class' => 'control-label'])) !!}
{!! Form::select('operational_type_id', $operational_types,null, ['class' => 'form-control', 'placeholder' => __('general.text_select')]) !!}
@if ($errors->has('operational_type_id'))
{{ $errors->first('operational_type_id') }}
@endif
{!! html_entity_decode(Form::label('payment_way_id', __('base/cfdi_download.entry_payment_way_id') . '', ['class' => 'control-label'])) !!}
{!! Form::select('payment_way_id', $payment_ways,old('payment_way_id'), ['class' => 'form-control', 'placeholder' => __('general.text_select')]) !!}
@if ($errors->has('payment_way_id'))
{{ $errors->first('payment_way_id') }}
@endif
{!! html_entity_decode(Form::label('currency_id', __('base/cfdi_download.entry_currency_id') . ' *', ['class' => 'control-label'])) !!}
{!! Form::select('currency_id', $currencies,old('currency_id',\App\Models\Catalogs\Currency::first()->id), ['class' => 'form-control', 'placeholder' => __('general.text_select'),'required']) !!}
@if ($errors->has('currency_id'))
{{ $errors->first('currency_id') }}
@endif
{!! html_entity_decode(Form::label('currency_value', __('base/cfdi_download.entry_currency_value') . ' *', ['class' => 'control-label'])) !!}
{!! Form::number('currency_value', old('currency_value'), ['class' => 'form-control text-center', 'placeholder' => __('base/cfdi_download.entry_currency_value'),'required','step' => 'any']) !!}
@if ($errors->has('currency_value'))
{{ $errors->first('currency_value') }}
@endif
{!! html_entity_decode(Form::label('amount_total', __('base/cfdi_download.entry_amount_total_2') . ' *', ['class' => 'control-label'])) !!}
{!! Form::number('amount_total', old('amount_total'), ['class' => 'form-control text-right', 'placeholder' => __('base/cfdi_download.entry_amount_total_2'),'required', 'step' => 'any', 'autocomplete' => 'off']) !!}
@if ($errors->has('amount_total'))
{{ $errors->first('amount_total') }}
@endif