{% 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 %}


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