{% if ((data_nascimento is empty) or (numero_telefone is empty)) %}
	<span class="ftr-text--l ftr-text--dark ftr-text--bold ftr-block">{{ text_info_customer }}</span>
	<span class="ftr-text--m ftr-text--grey">{{ firstname ~ ' ' ~ lastname }}</span>

	{% if data_nascimento is empty %}
		<label class="ftr-field">
			<input type="text" class="ftr-field__entry ftr-js-field__entry mask-date" name="customer_data_nascimento" required>
			<span class="ftr-field__text">{{ text_date }}</span>
		</label>
	{% endif %}

	{% if numero_telefone is empty %}
		<label for="type_payment_phone" class="ftr-select ftr-js-select written">
			<input class="ftr-select__entry ftr-js-select__entry" type="text" name="" value="{{ payment_phones_text }}" id="type_payment_phone" data-type-payment-phones='{{ type_payment_phones|json_encode() }}' readonly>
			<span class="ftr-select__text">{{ text_tipo_telefone }}</span>
			<input class="ftr-js-select__value ftr-js-tipo-telefone-customer" type="hidden" name="customer_tipo_telefone" value="{{ payment_phones_select }}">
			<div class="ftr-select__content">
				{% for payment_phone in payment_phones %}
					<span class="ftr-select__content__item ftr-js-select__content__item ftr-js-select-tipo-telefone-customer ftr-js-ripple-effect" data-value="{{ payment_phone.value }}" {{ (payment_phone.select is not null) ? 'data-selected="true"' : '' }}>{{ payment_phone.description }}</span>
				{% endfor %}
			</div>
		</label>

		<label class="ftr-field">
			<input type="text" class="ftr-field__entry ftr-js-field__entry" name="customer_numero_telefone" required>
			<span class="ftr-field__text">{{ text_numero_telefone }}</span>
		</label>
	{% endif %}

{% endif %}

<input class="ftr-check js-checkbox-holder" id="holder" type="checkbox" name="isHolder" checked>
<label class="ftr-check-label" for="holder" data-tipo-pessoa='{{ Type_CadastroPessoaJs|json_encode() }}'>
  <span class="ftr-check-label__text">{{ text_holder }}
  </span>
</label>

<div class="js-holder-content ftr-hidden">

	<hr class="ftr-out-space--b-xl">

	<span class="ftr-text--l ftr-text--dark ftr-text--bold ftr-block">{{ text_info }}</span>

	<input class="ftr-radio" id="fisica" type="radio" name="pessoa" value="{{ Type_CadastroPessoa.Tp_Fisico }}" checked>
	<label class="ftr-radio-label ftr-block" for="fisica">
		<span class="ftr-radio-label__text">{{ text_fisica }}</span>
	</label>
	<input class="ftr-radio" id="juridica" type="radio" name="pessoa" value="{{ Type_CadastroPessoa.Tp_Juridico }}">
	<label class="ftr-radio-label ftr-block" for="juridica">
		<span class="ftr-radio-label__text">{{ text_juridica }}</span>
	</label>

	<label class="ftr-field">
		<input type="text" class="ftr-field__entry ftr-js-field__entry" name="email" value="" required>
		<span class="ftr-field__text">{{ text_email }}</span>
	</label>

	<label class="ftr-field js-content-fisica ftr-hidden">
		<input type="text" class="ftr-field__entry ftr-js-field__entry mask-cpf" name="cpf" value="" required>
		<span class="ftr-field__text">{{ text_cpf }}</span>
	</label>

	<label class="ftr-field js-content-juridica ftr-hidden">
		<input type="text" class="ftr-field__entry ftr-js-field__entry mask-cnpj" name="cnpj" value="" required>
		<span class="ftr-field__text">{{ text_cnpj }}</span>
	</label>

	<label class="ftr-field">
		<input type="text" class="ftr-field__entry ftr-js-field__entry mask-date" name="data_nascimento" value="" required>
		<span class="ftr-field__text">{{ text_date }}</span>
	</label>


	<label for="type_payment_phone" class="ftr-select ftr-js-select written">
		<input class="ftr-select__entry ftr-js-select__entry" type="text" name="" value="{{ payment_phones_text }}" id="type_payment_phone" data-type-payment-phones='{{ type_payment_phones|json_encode() }}' readonly>
		<span class="ftr-select__text">{{ text_tipo_telefone }}</span>
		<input class="ftr-js-select__value ftr-js-telefone" type="hidden" name="tipo_telefone" value="{{ payment_phones_select }}">
		<div class="ftr-select__content">
			{% for payment_phone in payment_phones %}
				<span class="ftr-select__content__item ftr-js-select__content__item ftr-js-select-telefone ftr-js-ripple-effect" data-value="{{ payment_phone.value }}" {{ (payment_phone.select is not null) ? 'data-selected="true"' : '' }}>{{ payment_phone.description }}</span>
			{% endfor %}
		</div>
	</label>

	<label class="ftr-field">
		<input type="text" class="ftr-field__entry ftr-js-field__entry" name="numero_telefone" value="" required>
		<span class="ftr-field__text">{{ text_numero_telefone }}</span>
	</label>

</div>
<script>
	if (typeof loadSpecificSources != 'undefined') {
loadSpecificSources({scripts: {{ scriptsApp }}});
}
</script>
