<div class="block">
    <div class="content controls">
      <div class="form-row">
        <div class="col-md-2"><label>Código</label></div>
        <div class="col-md-2"><input type=number name="ds_codigo" id="ds_codigo" class="validate[required]" size=10/></div>

        <div class="col-md-1"><label>Status</label></div>
        <div class="col-md-4">
          <div class="checked inline"><label><input type=radio class=validate[required] name=st_acao value="1" checked/> Ativo</label></div>
          <div class="checked inline"><label><input type=radio class=validate[required] name=st_acao value="0"/> Bloqueado </label></div>
        </div>
      </div>

      <div class="form-row">
        <div class="col-md-2"><label>Razão Social</label></div>
        <div class="col-md-10"><input type=text name="ds_razao" id="ds_razao" class="validate[required]" maxlength="100"/></div>
      </div>

      <div class="form-row">
        <div class="col-md-2"><label>Nome Fantasia</label></div>
        <div class="col-md-6"><input type=text name="ds_fantasia" id="ds_fantasia" class="validate[required]" maxlength="40"/></div>
      </div>

      <div class="form-row">
        <div class="col-md-2"><label>CEP</label></div>
        <div class="col-md-2"><input type=text name="ds_cep" id="ds_cep" maxlenght="8" size="4" class="mask_cep"></div>
      </div>


      <!--
      <div class="form-row">
        <div class="col-md-2"><label>CEP</label></div>
        <div class="col-md-2">
          <div class="input-group">
            <input type=text name="ds_cep" id="ds_cep" maxlenght="8" size="4" class="mask_cep">
            <div class="input-group-addon">
            <a href="helper-cep.php" class='input-helper' data-remote="false" data-toggle="modal" data-target="#helper-modal-div" data-value="#ds_cep" data-description="#ds_endereco" data-title="Selecione:">
            <span class="fa fa-search"></span></a>
          </div>
          </div>
        </div>
      </div>
      -->

      <div class="form-row">
        <div class="col-md-2"><label>Endereço</label></div>
        <div class="col-md-10"><input type=text name="ds_endereco" id="ds_endereco" class="validate[required] getCep_ds_logradouro" maxlength="100"/></div>
      </div>
      
      <div class="form-row">
      	<div class="col-md-2"><label>Número</label></div>
        <div class="col-md-1"><input type=text name="ds_numero" id="ds_numero" class="" maxlength="20"/></div>
        <div class="col-md-1">&nbsp;</div>
        <div class="col-md-1"><label>Bairro</label></div>
        <div class="col-md-7"><input type=text name="ds_bairro" id="ds_bairro" class="getCep_ds_bairro" maxlength="255"/></div>
      </div>

      <div class="form-row">
        <div class="col-md-2"><label>Complemento</label></div>
        <div class="col-md-10"><input type=text name="ds_complemento" id="ds_complemento" maxlength="60"/></div>
      </div>

    <div class="row clear">&nbsp;</div>
    <div class="form-row">
      <div class="col-md-2"><label>Município</label></div>
      <div class="col-md-2">
        <div class="input-group">
          <input type=number name="id_municipio" id="id_municipio" class="getCep_id_municipio" maxlenght="10" size="4">
            <div class="input-group-addon">
            <a href="erpc_municipios_helper.php" class='input-helper' data-remote="false" data-toggle="modal" data-target="#helper-modal-div" data-parameter="" data-value="#id_municipio" data-description="#ds_municipio" data-title="Selecione:">
            <span class="fa fa-search"></span></a>
            </div>
         </div>
      </div>
      <div class="col-md-2"><input name="ds_municipio" id="ds_municipio" class="getCep_ds_municipio" readonly></div>
      
	  <div class="col-md-1"><label>UF</label></div>
	  <div class="col-md-1"><input name="ds_uf" id="ds_uf" class="getCep_ds_uf" maxlenght="2"></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>Cx.Postal</label></div>
      <div class="col-md-1"><input type=number name="ds_cx_postal" id="ds_cx_postal"/></div>
      <div class="col-md-3">&nbsp;</div>
      <div class="col-md-1"><label>Tipo</label></div>
      <div class="col-md-2">
              <select name="tp_tipo" id="tp_tipo">
                <option value="F">F - Fisico</option>
                <option value="J">J - Juridico</option>
                <option value="X">X - Outros</option>
              </select>
      </div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>CNPJ</label></div>
      <div class="col-md-4"><input name="ds_cpf_cnpj" id="ds_cpf_cnpj" class="mask_cnpj"/></div>

      <div class="col-md-1"><label>RG</label></div>
      <div class="col-md-4"><input type=number name="ds_rg" id="ds_rg"></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>DDI</label></div>
      <div class="col-md-1"><input type=number name="ds_ddi" id="ds_ddi" maxlength="02"></div>
      <div class="col-md-2"><label>DDD</label></div>
      <div class="col-md-1"><input type=number name="ds_ddd" id="ds_ddd" maxlength="02"></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>Telefone</label></div>
      <div class="col-md-2"><input type=number name="ds_telefone" id="ds_telefone" maxlength="09" class="mask_nr_tel"></div>

      <div class="col-md-2">&nbsp;</div>
      <div class="col-md-2"><label>Fax</label></div>
      <div class="col-md-2"><input type=text name="ds_fax" id="ds_fax" class="mask_nr_tel"/></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>Celular</label></div>
      <div class="col-md-2"><input type=text name="ds_celular" id="ds_celular"></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>Operadora</label></div>
      <div class="col-md-2">
        <div class="input-group">
          <input type=text name="id_operadora" id="id_operadora" >
          <div class="input-group-addon">
          <a href="erpc_operadoras_telefonia_helper.php" class='input-helper' data-remote="false" data-toggle="modal" data-target="#helper-modal-div" data-value="#id_operadora" data-description="#ds_operadora" data-title="Selecione:">
          <span class="fa fa-search"></span></a>
        </div>
        </div>
      </div>
      <div class="col-md-4"><input name="ds_operadora" id="ds_operadora" readonly/></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>Insc. Estadual</label></div>
      <div class="col-md-3"><input type=number name="ds_ie" id="ds_ie"/></div>

      <div class="col-md-1">&nbsp;</div>
      <div class="col-md-2"><label>Insc. Municipal</label></div>
      <div class="col-md-3"><input type=number name="ds_im" id="ds_im"/></div>
     </div>

     <div class="form-row">
       <div class="col-md-2"><label>Departamento</label></div>
       <div class="col-md-3"><input type=text name="ds_departamento" id="ds_departamento" maxlength="40"/></div>
       <div class="col-md-1">&nbsp;</div>

       <div class="col-md-2"><label>E-mail</label></div>
       <div class="col-md-3"><input type=text name="ds_email" id="ds_email" maxlength="40"/></div>
     </div>

    <div class="form-row">
      <div class="col-md-2"><label>Home Page</label></div>
      <div class="col-md-3"><input name="ds_homepage" id="ds_homepage" maxlength="100"/></div>

      <div class="col-md-1">&nbsp;</div>
      <div class="col-md-2"><label>Nr.Telex</label></div>
      <div class="col-md-1"><input type=number name="ds_telex" id="ds_telex" maxlength="20"/></div>
    </div>

    <div class="form-row">
      <div class="col-md-2"><label>CBO</label></div>
      <div class="col-md-1"><input type=number name="ds_cod_cbo" id="ds_cod_cbo"/></div>

      <div class="col-md-1">&nbsp;</div>
      <div class="col-md-2"><label>CNAE</label></div>
      <div class="col-md-1"><input type=number name="ds_cod_cnae" id="ds_cod_cnae"/></div>
    </div>

</div>
</div>
