{!! Form::open(['route' => ['customer-fees.destroy',$customer_fee->id],'method' => 'DELETE','class' => '','role' => 'form','id'=>'form_modal_customer_fee_cancel']) !!} {!! Form::hidden('cancelable', old('cancelable',$data_status_sat['cancelable']), ['class' => 'form-control']) !!} {!! Form::hidden('cancel_state', old('cancel_state',$data_status_sat['pac_is_cancelable']), ['class' => 'form-control']) !!} {!! Form::hidden('customer_id', old('customer_id',$customer_fee->customer_id), ['class' => 'form-control']) !!}

{!! sprintf(__('sales/customer_fee.text_modal_cancel'),$customer_fee->name) !!}

@if($is_cancelable) @else @endif

@if($is_cancelable)

{!! sprintf(__('sales/customer_fee.text_modal_cancel_help1'),$customer_fee->documentType->name) !!}

@lang('sales/customer_fee.text_modal_cancel_help2')

@else

{!! sprintf(__('sales/customer_fee.text_modal_cancel_help1_1'),$customer_fee->documentType->name) !!}

@endif
@if($is_cancelable)
{!! html_entity_decode(Form::label('reason_cancellation_id', __('sales/customer_fee.entry_reason_cancellation_id') . '', ['class' => 'control-label'])) !!} {!! Form::select('reason_cancellation_id', $reason_cancellations,old('reason_cancellation_id'), ['class' => 'form-control', 'placeholder' => __('general.text_select'),'required']) !!}
{!! html_entity_decode(Form::label('reason_cancellation_cfdi', __('sales/customer_fee.entry_reason_cancellation_cfdi') . '', ['class' => 'control-label'])) !!} {!! Form::select('reason_cancellation_cfdi', [],old('reason_cancellation_cfdi'), ['class' => 'form-control', 'placeholder' => __('general.text_select')]) !!}
{!! html_entity_decode(Form::label('reason_cancellation_uuid', __('sales/customer_fee.entry_reason_cancellation_uuid') . '', ['class' => 'control-label'])) !!} {!! Form::text('reason_cancellation_uuid',old('reason_cancellation_uuid'), ['class' => 'form-control text-center', 'placeholder' => __('sales/customer_fee.entry_reason_cancellation_uuid')]) !!}
@endif
@lang('general.text_is_cancelable_cfdi')
{!! !empty($data_status_sat['pac_is_cancelable']) ? $data_status_sat['pac_is_cancelable'] : ' ' !!}
@lang('general.text_status_cfdi')
{!! !empty($data_status_sat['pac_status']) ? $data_status_sat['pac_status'] : ' ' !!}
@if($is_cancelable) {!! Form::button(__('general.button_confirm'),['type' => 'submit', 'class' => 'btn btn-sm btn-primary']) !!} @endif
{!! Form::close() !!}