@lang('base/cfdi_download.document_title_cfdi_download')

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

@lang('base/cfdi_download.text_step_2')

@lang('base/cfdi_download.help_step_2')

{!! Form::open(['route' => 'cfdi-downloads/cfdi-download-request','method' => 'GET','class' => '','role' => 'form','id'=>'form_received']) !!} {!! Form::hidden('type', 1) !!}
{!! html_entity_decode(Form::label('year', __('base/cfdi_download.entry_year') , ['class' => 'control-label'])) !!} {!! Form::select('year', $years,request()->input('year',\Date::now()->format('Y')), ['class' => 'form-control']) !!}
{!! html_entity_decode(Form::label('month', __('base/cfdi_download.entry_month') , ['class' => 'control-label'])) !!} {!! Form::select('month', $months,request()->input('month',(int)\Date::now()->format('m')), ['class' => 'form-control']) !!}
{!! html_entity_decode(Form::label('day', __('base/cfdi_download.entry_day') , ['class' => 'control-label'])) !!} {!! Form::select('day', $days,request()->input('day'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! html_entity_decode(Form::label('start_time_hour', __('base/cfdi_download.entry_start_time') , ['class' => 'control-label'])) !!}
{!! Form::select('start_time_hour', $hours,request()->input('start_time_hour'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! Form::select('start_time_minute', $minutes,request()->input('start_time_minute'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! html_entity_decode(Form::label('end_time_hour', __('base/cfdi_download.entry_end_time') , ['class' => 'control-label'])) !!}
{!! Form::select('end_time_hour', $hours,request()->input('end_time_hour'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! Form::select('end_time_minute', $minutes,request()->input('end_time_minute'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! html_entity_decode(Form::label('rfc_emisor', __('base/cfdi_download.entry_rfc_emisor') , ['class' => 'control-label'])) !!} {!! Form::text('rfc_emisor', request()->input('rfc_emisor'), ['class' => 'form-control', 'placeholder' => __('base/cfdi_download.entry_rfc_emisor')]) !!}
{!! html_entity_decode(Form::label('uuid', __('base/cfdi_download.entry_uuid') , ['class' => 'control-label'])) !!} {!! Form::text('uuid', request()->input('uuid'), ['class' => 'form-control', 'placeholder' => __('base/cfdi_download.entry_uuid')]) !!}
{!! html_entity_decode(Form::label('status', __('base/cfdi_download.entry_status') , ['class' => 'control-label'])) !!} {!! Form::select('status', $sat_status,request()->input('status'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! Form::button(__('general.button_search'),['type' => 'submit', 'class' => 'btn btn-sm btn-primary']) !!}
{!! Form::close() !!} {{-- Lista XML recibidos consultados --}} {!! Form::open(['route' => 'cfdi-downloads/cfdi-download','method' => 'POST','class' => '','role' => 'form','id'=>'form_download_received']) !!} {!! Form::hidden('year_f', request()->input('year',\Date::now()->format('Y'))) !!} {!! Form::hidden('month_f', request()->input('month',\Date::now()->format('m'))) !!} {!! Form::hidden('type', 1) !!}
# {{__('base/cfdi_download.column_url_xml')}}
{{__('base/cfdi_download.column_url_pdf')}}
{{__('base/cfdi_download.column_url_acuse')}}
{{__('base/cfdi_download.column_cfdi_type')}} {{__('base/cfdi_download.column_date')}} {{__('base/cfdi_download.column_uuid')}} {{__('base/cfdi_download.column_rfc_emisor')}} {{__('base/cfdi_download.column_emisor')}} {{__('base/cfdi_download.column_amount_total')}} {{__('base/cfdi_download.column_date_certification')}} {{__('base/cfdi_download.column_rfc_pac')}} {{__('base/cfdi_download.column_status')}} {{__('base/cfdi_download.column_is_cancelable')}}
{!! Form::close() !!}
{!! Form::open(['route' => 'cfdi-downloads/cfdi-download-request','method' => 'GET','class' => '','role' => 'form','id'=>'form_issued']) !!} {!! Form::hidden('type', 2) !!}
{!! html_entity_decode(Form::label('filter_date_from', __('general.text_date_from') . '', ['class' => 'control-label'])) !!}
{!! Form::text('filter_date_from', request()->input('filter_date_from',\App\Helpers\Helper::date(Date::parse('first day of this month'))), ['class' => 'form-control', 'placeholder' => __('general.text_date_from'),'autocomplete'=>'off']) !!}
{!! html_entity_decode(Form::label('start_time_hour2', __('base/cfdi_download.entry_start_time') , ['class' => 'control-label'])) !!}
{!! Form::select('start_time_hour2', $hours,request()->input('start_time_hour2'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! Form::select('start_time_minute2', $minutes,request()->input('start_time_minute2'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! html_entity_decode(Form::label('filter_date_to', __('general.text_date_to') . '', ['class' => 'control-label'])) !!}
{!! Form::text('filter_date_to', request()->input('filter_date_to',\App\Helpers\Helper::date(Date::parse('last day of this month'))), ['class' => 'form-control', 'placeholder' => __('general.text_date_to'),'autocomplete'=>'off']) !!}
{!! html_entity_decode(Form::label('end_time_hour2', __('base/cfdi_download.entry_end_time') , ['class' => 'control-label'])) !!}
{!! Form::select('end_time_hour2', $hours,request()->input('end_time_hour2'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! Form::select('end_time_minute2', $minutes,request()->input('end_time_minute2'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! html_entity_decode(Form::label('rfc_receptor', __('base/cfdi_download.entry_rfc_receptor') , ['class' => 'control-label'])) !!} {!! Form::text('rfc_receptor', request()->input('rfc_receptor'), ['class' => 'form-control', 'placeholder' => __('base/cfdi_download.entry_rfc_receptor')]) !!}
{!! html_entity_decode(Form::label('uuid', __('base/cfdi_download.entry_uuid') , ['class' => 'control-label'])) !!} {!! Form::text('uuid', request()->input('uuid'), ['class' => 'form-control', 'placeholder' => __('base/cfdi_download.entry_uuid')]) !!}
{!! html_entity_decode(Form::label('status', __('base/cfdi_download.entry_status') , ['class' => 'control-label'])) !!} {!! Form::select('status', $sat_status,request()->input('status'), ['class' => 'form-control', 'placeholder' => __('general.text_all')]) !!}
{!! Form::button(__('general.button_search'),['type' => 'submit', 'class' => 'btn btn-sm btn-primary']) !!}
{!! Form::close() !!} {{-- Lista XML emitidos consultados --}} {!! Form::open(['route' => 'cfdi-downloads/cfdi-download','method' => 'POST','class' => '','role' => 'form','id'=>'form_download_issued']) !!} {!! Form::hidden('type', 2) !!}
# {{__('base/cfdi_download.column_url_xml')}}
{{__('base/cfdi_download.column_url_pdf')}}
{{__('base/cfdi_download.column_url_acuse')}}
{{__('base/cfdi_download.column_cfdi_type')}} {{__('base/cfdi_download.column_date')}} {{__('base/cfdi_download.column_uuid')}} {{__('base/cfdi_download.column_rfc_receptor')}} {{__('base/cfdi_download.column_receptor')}} {{__('base/cfdi_download.column_amount_total')}} {{__('base/cfdi_download.column_date_certification')}} {{__('base/cfdi_download.column_rfc_pac')}} {{__('base/cfdi_download.column_status')}} {{__('base/cfdi_download.column_is_cancelable')}}
{!! Form::close() !!}