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

{% block content %}


<div class="container-fluid">
 <div class="col-xs-12 col-md-6">
    <base-card class="content-box background-white padding-large shadow-small">

      {# Input descricao #}

   <validation-provider
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_descricao"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_descricao"
     name="dlog_descricao"
     v-model="configurations.dlog_descricao"
     maxlength="100"
     mask="alphanumericNoSpecial"
     :error="errors[0]"
     :valid="valid">
     </base-input>
   </validation-provider>

     {# Input código  #}

   <validation-provider
    tag="div"
    class="field field-medium bottom-margin-medium"
    rules="required"
    name="dlog_codigo"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_codigo"
     name="dlog_codigo"
     v-model="configurations.dlog_codigo"
     :error="errors[0]"
     maxlength='10'
     mask="integer"
     :valid="valid"
     required>
     </base-input>
   </validation-provider>

     {# Input Login CNPJ #}

   <validation-provider
    tag="div"
    class="field field-medium bottom-margin-medium"
    rules="required"
    name="dlog_login"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_login"
     name="dlog_login"
     v-model="configurations.dlog_login"
     :error="errors[0]"
     mask="cnpj"
     :valid="valid"
     required>
     </base-input>
   </validation-provider>

     {# Input Token #}
          
   <validation-provider
    tag="div"
    class="field field-medium bottom-margin-medium"
    rules="required"
    name="dlog_token"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_token"
     name="dlog_token"
     v-model="configurations.dlog_token"
     :error="errors[0]"
     maxlength="35"
     mask="integer"
     :valid="valid"
     required>
     </base-input>
   </validation-provider>
        
       {# Input Cep #}
        
      
   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    rules="required"
    name="dlog_cep_origem"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_cep_origem"
     name="dlog_cep_origem"
     v-model="configurations.dlog_cep_origem"
     :error="errors[0]"
     mask="cep"
     :valid="valid"
     required>
     </base-input>
   </validation-provider>

     {# Input Valor extra #}

   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_dlog_valor_extra"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_valor_extra"
     name="dlog_dlog_valor_extra"
     v-model="configurations.dlog_dlog_valor_extra"
     :error="errors[0]"
     mask="brazilCurrency"
     :valid="valid">
     </base-input>
   </validation-provider>

     {# Input prazo extra #}
  
   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_dlog_prazo_extra"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_prazo_extra"
     name="dlog_dlog_prazo_extra"
     v-model="configurations.dlog_dlog_prazo_extra"
     :error="errors[0]"
     maxlength="2"
     mask="integer"
     :valid="valid">
     </base-input>
   </validation-provider>

        {# Simular caixa #}

   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_simular_caixa"
    v-slot="{errors, valid}">
    <base-select
    :label="entry_dlog_simular_caixa"
     name="dlog_simular_caixa"
     v-model="configurations.dlog_simular_caixa"
     :error="errors[0]"
     :valid="valid">
     <option
     v-for ="(value, key) in Type_Status"
     :key="key"
     value="value">{ value }
     </option>
     </base-select>
   </validation-provider>

       

        {# Tipo de serviço #}

   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_modal_service"
    v-slot="{errors, valid}">
    <base-select
    :label="entry_dlog_modal_service"
     name="dlog_modal_service"
     v-model="configurations.dlog_modal_service"
     :error="errors[0]"
     :valid="valid">
     <option
     v-for ="(value, key) in Type_dlog_modal_service"
     :key="key"
     value="value">{ value }
     </option>
     </base-select>
   </validation-provider>

    {# ICMS #}

   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_icms"
    v-slot="{errors, valid}">
    <base-select
    :label="entry_dlog_icms"
     name="dlog_icms"
     v-model="configurations.dlog_icms"
     :error="errors[0]"
     :valid="valid">
     <option
     v-for ="(value, key) in Type_Status"
     :key="key"
     value="value">{ value }
     </option>
     </base-select>
   </validation-provider>

     {# Input Ordem #}

   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_dlog_sort_order"
    v-slot="{errors, valid}">
    <base-input
    :label="entry_dlog_sort_order"
     name="dlog_dlog_sort_order"
     v-model="configurations.dlog_dlog_sort_order"
     :error="errors[0]"
     maxlength="2"
     mask="integer"
     :valid="valid">
     </base-input>
   </validation-provider>

        {# Geo zone #}

   <validation-provider 
    tag="div"
    class="field field-medium bottom-margin-medium"
    name="dlog_geo_zones"
    v-slot="{errors, valid}">
    <base-select
    :label="entry_dlog_geo_zone_id"
     name="dlog_geo_zones"
     v-model="configurations.dlog_geo_zones"
     :error="errors[0]"
     :valid="valid">
     <option
     value="0">{text_all_zones}</option>
     <option
     v-for ="(geo_zones, key) in dlog_geo_zones"
     v-if="geo_zones.geo_zones_id == dlog_geo_zones"
     :selected="selected"
     :key="key"
     value="value">{ geo_zones.name }
     </option>
     <option
     v-else
     :key="key"
     value="value">{geo_zones.name}
     </option>
     </base-select>
   </validation-provider>

        {# Status #}

   <validation-provider
      tag="div"
      class="field field-medium"
      name="fretedinamico_dlog_status"
      v-slot="{errors, valid}">
      <base-select
      :label="entry_dlog_status"
      name="fretedinamico_dlog_status"
      v-model="configurations.fretedinamico_dlog_status"
      :error="errors[0]"
      :valid="valid">
      <option
      v-for ="(value, key) in Type_Status"
     :key="key"
     value="value">{ value }
      </option>
      </base-select>
   </validation-provider>
       </base-card>
      </div>
    </div>
  
</div>

{% endblock %}