Primer commit del sistema avantika sin cambios
This commit is contained in:
161
templates/forms/agregar-usuario.tpl
Executable file
161
templates/forms/agregar-usuario.tpl
Executable file
@@ -0,0 +1,161 @@
|
||||
<div id="divForm">
|
||||
<form id="frmAgregarUsuario" name="frmAgregarUsuario" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="type" name="type" value="saveUsuario" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* Tipo:</td>
|
||||
<td>
|
||||
{if $Usr.type == "gerente"}
|
||||
<div class="txtFrm">Vendedor</div>
|
||||
<input type="hidden" name="tipo" id="tipo" value="vendedor" />
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumUserTypes.tpl"}
|
||||
{/if}
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130"><div id="txtSuc">Sucursal:</div></td>
|
||||
<td>
|
||||
{if $Usr.type == "gerente"}
|
||||
<div class="txtFrm">{$nomSuc}</div>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="{$Usr.sucursalId}" />
|
||||
{else}
|
||||
<div id="listSuc">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumSucursales.tpl"}
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Nombre:</td>
|
||||
<td><input name="nombre" id="nombre" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Apellidos:</td>
|
||||
<td><input name="apellidos" id="apellidos" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Dirección:</td>
|
||||
<td><input name="calle" id="calle" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>No Exterior:</td>
|
||||
<td><input name="noExt" id="noExt" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No Interior:</td>
|
||||
<td><input name="noInt" id="noInt" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Referencia:</td>
|
||||
<td><input name="referencia" id="referencia" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Colonia:</td>
|
||||
<td><input name="colonia" id="colonia" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Localidad:</td>
|
||||
<td><input name="localidad" id="localidad" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Municipio o Delegación:</td>
|
||||
<td><input name="municipio" id="municipio" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Estado:</td>
|
||||
<td><input name="estado" id="estado" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Pais:</td>
|
||||
<td><input name="pais" id="pais" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Código Postal:</td>
|
||||
<td><input name="codigoPostal" id="codigoPostal" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Teléfono:</td>
|
||||
<td><input name="telefono" id="telefono" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Celular:</td>
|
||||
<td><input name="celular" id="celular" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No. IMSS:</td>
|
||||
<td><input name="noImss" id="noImss" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>CURP:</td>
|
||||
<td><input name="curp" id="curp" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">RFC:</td>
|
||||
<td><input name="rfc" id="rfc" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Email:</td>
|
||||
<td><input name="email" id="email" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Contraseña:</td>
|
||||
<td><input name="password" id="password" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IDENTIFICACION OFICIAL ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="identificacion" id="identificacion" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPROBANTE DE DOMICILIO ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="comprobante" id="comprobante" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center" id="sucSup" style="display:none">
|
||||
<table width="30%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center" colspan="2"><b>.:: SUCURSALES A SUPERVISAR ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<tr>
|
||||
<td align="center"><input type="checkbox" name="idSuc[]" value="{$item.sucursalId}" /></td>
|
||||
<td align="left">{$item.nombre}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div align="center" style="display:none" id="loader">
|
||||
<img src="{$WEB_ROOT}/images/loading.gif">
|
||||
<br>
|
||||
Guardando Información...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div style="margin-left:415px">
|
||||
<a class="button" name="btnSave" onclick="AddUsuario()"><span>Guardar</span></a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br /><br />
|
||||
<div style="margin-left:410px"><a href="{$WEB_ROOT}/usuarios"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user