{% extends 'base/module.twig' %}

{% block content %}

  <div class="container-fluid">
    <div class="row">
      <div class="col-xs-9">
        <div class="row">
          <div class="col-xs-12 col-sm-8">
            <base-card class="padding-large">            
              <validation-provider
                tag="div"
                rules="required|max:100"
                name="futura_frete_conta_cliente_title"
                v-slot="{ errors, valid }">
                <base-input
                  type="text"
                  :label="text_description"
                  name="futura_frete_conta_cliente_title"
                  v-model="configurations.futura_frete_conta_cliente_title"
                  mask="alphanumericNoSpecial"
                  maxlength="100"
                  :error="errors[0]"
                  :valid="valid"
                  required>
                </base-input>
              </validation-provider>

              <validation-provider
               class="top-margin-large"
                tag="div"
                rules="max:100"
                name="futura_frete_conta_cliente_subtitle"
                v-slot="{ errors, valid }">
                <base-input
                  :label="text_subtitle"
                  name="futura_frete_conta_cliente_subtitle"
                  v-model="configurations.futura_frete_conta_cliente_subtitle"
                  maxlength="100"
                   mask="alphanumericNoSpecial"
                  :error="errors[0]"
                  :valid="valid">
                </base-input>
              </validation-provider>

              <validation-provider
                tag="div"
                rules="required"
                class="top-margin-large"
                name="futura_frete_conta_cliente_status"
                v-slot="{ errors, valid }">
                <base-select
                  :label="entry_status"
                  name="futura_frete_conta_cliente_status"
                  v-model="configurations.futura_frete_conta_cliente_status"
                  :error="errors[0]"
                  :valid="valid">
                  <option
                    v-for="(value, key) in Type_Status"
                    :key="key"
                    :value="key">
                    { value }
                  </option>
                </base-select>
              </validation-provider>

              <validation-provider
                tag="div"
                rules="required"
                class="top-margin-large"
                name="futura_frete_conta_cliente_habilitar_pessoa_tipo"
                v-slot="{ errors, valid }">
                <base-select
                  :label="entry_habilitar_tipo"
                  :description="entry_habilitar_tipo_obs"
                  name="futura_frete_conta_cliente_habilitar_pessoa_tipo"
                  v-model="configurations.futura_frete_conta_cliente_habilitar_pessoa_tipo"
                  :error="errors[0]"
                  :valid="valid"
                  required>
                  <option
                    v-for="(type, key) in Type_HabilitarPessoa"
                    :key="key"
                    :value="key">
                      { type }
                  </option>
              </validation-provider>
  
              <validation-provider
                tag="div"
                class="top-margin-large"
                rules="numeric"
                name="futura_frete_conta_cliente_sort_order"
                v-slot="{ errors, valid }">
                <base-input
                  :label="entry_order"
                  name="futura_frete_conta_cliente_sort_order"
                  v-model="configurations.futura_frete_conta_cliente_sort_order"
                  mask="integer"
                  maxlength="2"
                  :error="errors[0]"
                  :valid="valid">
                </base-input>
              </validation-provider>
            </base-card>           
          </div>
        </div>
      </div>
    </div>
  </div>
{% endblock %}