Primer commit del sistema avantika sin cambios
This commit is contained in:
21
templates/forms/agregar-atributo-valor.tpl
Executable file
21
templates/forms/agregar-atributo-valor.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarValor" id="frmAgregarValor" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveValor" />
|
||||
<input type="hidden" name="atributoId" id="atributoId" value="{$atributoId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-atributo.tpl
Executable file
20
templates/forms/agregar-atributo.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarAtributo" id="frmAgregarAtributo" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveAtributo" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
52
templates/forms/agregar-bonificacion.tpl
Executable file
52
templates/forms/agregar-bonificacion.tpl
Executable file
@@ -0,0 +1,52 @@
|
||||
<div id="divForm">
|
||||
<form id="addPagoForm" name="addPagoForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center">% Bonificacion:</td>
|
||||
{*}<td align="center">* Fecha:</td>{*}
|
||||
<td align="left" colspan="2">* Cantidad:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="bonificacion" id="bonificacion" type="text" value="{$porcentajeAplicado}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="cantidad" id="cantidad" type="text" value="{$pagoTotal}" />
|
||||
</td>
|
||||
{*}
|
||||
<td align="center">
|
||||
<div class="r" style="float:left">
|
||||
<input class="largeInput" name="fecha" id="fecha" type="text" />
|
||||
</div>
|
||||
<div style="float:left">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fecha','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" /></a>
|
||||
</div>
|
||||
</td>
|
||||
{*}
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
<div class="formLine">* Campos requeridos</div>
|
||||
<div class="formLine" style="text-align:center; margin-left:300px">
|
||||
<a class="button_grey" id="btnAddPago"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="productoId" name="productoId" value="{$productoId}"/>
|
||||
<input type="hidden" id="prodItemId" name="prodItemId" value="{$prodItemId}"/>
|
||||
<input type="hidden" id="pedidoId" name="pedidoId" value="{$pedidoId}"/>
|
||||
<input type="hidden" id="proveedorId" name="proveedorId" value="{$proveedorId}"/>
|
||||
<input type="hidden" id="total" name="total" value="{$total}"/>
|
||||
<input type="hidden" id="disponible" name="disponible" value="{$disponible}"/>
|
||||
<input type="hidden" id="vendido" name="vendido" value="{$vendido}"/>
|
||||
<input type="hidden" id="porcentajeVendido" name="porcentajeVendido" value="{$porcentajeVendido}"/>
|
||||
<input type="hidden" id="porcentajeAplicado" name="porcentajeAplicado" value="{$porcentajeAplicado}"/>
|
||||
<input type="hidden" id="pagoTotal" name="pagoTotal" value="{$pagoTotal}"/>
|
||||
<input type="hidden" id="costo" name="costo" value="{$costo}"/>
|
||||
<input type="hidden" id="type" name="type" value="saveAddPago"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
75
templates/forms/agregar-certificado.tpl
Executable file
75
templates/forms/agregar-certificado.tpl
Executable file
@@ -0,0 +1,75 @@
|
||||
<div id="divForm">
|
||||
<form id="frmCertificado" name="frmCertificado" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="accion" value="guardar_certificado" />
|
||||
<fieldset>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:150px;float:left">Certificados:</div>
|
||||
<div style="width:350px;float:left">
|
||||
<select name="certificado" id="certificado" class="largeInput">
|
||||
{if $nom_certificado}
|
||||
<option value="{$nom_certificado}">{$nom_certificado}</option>
|
||||
{/if}
|
||||
</select>
|
||||
<div style="position:relative">
|
||||
<div style="display:none;position:absolute;top:-20; z-index:100" id="suggestionDiv"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; padding-top:5px"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:150px;float:left">Fecha Certificado:</div>
|
||||
<div style="width:750px;float:left"><input name="fecha" id="fecha" type="text" size="30" readonly="readonly" value="{$fecha_expiracion}" class="largeInput"/>
|
||||
<div style="position:relative">
|
||||
<div style="display:none;position:absolute;top:-20; z-index:100" id="suggestionDiv"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; padding-top:5px"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:150px;float:left">* Ruta del Certificado:</div>
|
||||
<div style="width:650px;float:left"><input type="file" name="file_certificado" id="file_certificado" class="largeInput" />
|
||||
<div style="position:relative">
|
||||
<div style="color:#FF0000; display:{if $errCertificado}block{else}none{/if}">{$errCertificado}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; padding-top:5px"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:150px;float:left">* Ruta de la Llave Privada:</div>
|
||||
<div style="width:650px;float:left"><input type="file" name="file_llave" id="file_llave" class="largeInput" />
|
||||
<div style="position:relative">
|
||||
<div style="color:#FF0000; display:{if $errLlave}block{else}none{/if}">{$errLlave}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; padding-top:5px"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:150px;float:left">* Contrasena Llave Privada:</div>
|
||||
<div style="width:650px;float:left"><input type="password" name="pass_llave" id="pass_llave" size="20" class="largeInput"/>
|
||||
<div style="position:relative">
|
||||
<div style="color:#FF0000; display:{if $errPass}block{else}none{/if}">{$errPass}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; padding-top:5px"></div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div align="left">* Campos requeridos.</div>
|
||||
|
||||
<div id="loader" style="padding-left:190px; width:100px; display:none" align="center">
|
||||
<img src="{$WEB_ROOT}/images/loading.gif" />
|
||||
<br />Enviando...
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="text-align:center; padding-left:200px">
|
||||
<a class="button" id="agregarCertificado" name="agregarCertificado"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
80
templates/forms/agregar-cliente-datos.tpl
Executable file
80
templates/forms/agregar-cliente-datos.tpl
Executable file
@@ -0,0 +1,80 @@
|
||||
<div id="divForm">
|
||||
<form id="frmDatosClte" name="frmDatosClte" method="post">
|
||||
<input type="hidden" id="type" name="type" value="updateClte" />
|
||||
<input type="hidden" id="clienteId" name="clienteId" value="{$info.clienteId}" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* RFC y Homoclave:</td>
|
||||
<td><input name="rfc" id="rfc" type="text" class="largeInput" style="width:290px" value="{$info.rfc}" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Nombre Completo o Razón Social:</td>
|
||||
<td><input name="razonSocial" id="razonSocial" type="text" class="largeInput" style="width:290px" value="{$info.nombre}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50">* Dirección</td>
|
||||
<td><input name="calle" id="calle" type="text" class="largeInput" style="width:290px" value="{$info.calle}" /></td>
|
||||
<td width="10"></td>
|
||||
<td>* No. Ext:</td>
|
||||
<td><input name="noExt" id="noExt" type="text" class="largeInput" style="width:290px" value="{$info.noExt}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50">No. Int:</td>
|
||||
<td><input name="noInt" id="noInt" type="text" class="largeInput" style="width:290px" value="{$info.noInt}" /></td>
|
||||
<td width="10"></td>
|
||||
<td>Referencia</td>
|
||||
<td><input name="referencia" id="referencia" type="text" class="largeInput" style="width:290px" value="{$info.referencia}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50">Colonia:</td>
|
||||
<td><input name="colonia" id="colonia" type="text" class="largeInput" style="width:290px" value="{$info.colonia}" /></td>
|
||||
<td width="10"></td>
|
||||
<td>Localidad</td>
|
||||
<td><input name="localidad" id="localidad" type="text" class="largeInput" style="width:290px" value="{$info.localidad}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50">Municipio o Delegación:</td>
|
||||
<td><input name="municipio" id="municipio" type="text" class="largeInput" style="width:290px" value="{$info.municipio}" /></td>
|
||||
<td width="10"></td>
|
||||
<td>Código Postal:</td>
|
||||
<td><input name="cp" id="cp" type="text" class="largeInput" style="width:290px" value="{$info.cp}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50">Estado:</td>
|
||||
<td><input name="estado" id="estado" type="text" class="largeInput" style="width:290px" value="{$info.estado}" /></td>
|
||||
<td width="10"></td>
|
||||
<td>* Pais:</td>
|
||||
<td><input name="pais" id="pais" type="text" class="largeInput" style="width:290px" value="{$info.pais}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50">Teléfono:</td>
|
||||
<td><input name="telefono" id="telefono" type="text" class="largeInput" style="width:290px" value="{$info.telefono}" /></td>
|
||||
<td width="10"></td>
|
||||
<td>Correo electrónico:</td>
|
||||
<td><input name="email" id="email" type="text" class="largeInput" style="width:290px" value="{$info.email}" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<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="UpdateClte()"><span>Guardar</span></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
106
templates/forms/agregar-cliente.tpl
Executable file
106
templates/forms/agregar-cliente.tpl
Executable file
@@ -0,0 +1,106 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarClienteForm" name="agregarClienteForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* RFC y Homoclave:</div>
|
||||
<div class="r"><input type="text" name="rfc" id="rfc" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r"><input type="text" name="razonSocial" id="razonSocial" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Dirección:</div>
|
||||
<div class="r"><input type="text" name="calle" id="calle" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No Exterior:</div>
|
||||
<div class="r"><input type="text" name="noExt" id="noExt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">No Interior:</div>
|
||||
<div class="r"><input type="text" name="noInt" id="noInt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Referencia:</div>
|
||||
<div class="r"><input type="text" name="referencia" id="referencia" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Colonia:</div>
|
||||
<div class="r"><input type="text" name="colonia" id="colonia" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Localidad:</div>
|
||||
<div class="r"><input type="text" name="localidad" id="localidad" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Municipio o Delegación:</div>
|
||||
<div class="r"><input type="text" name="municipio" id="municipio" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Código Postal:</div>
|
||||
<div class="r"><input type="text" name="cp" id="cp" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Estado:</div>
|
||||
<div class="r"><input type="text" name="estado" id="estado" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Pais:</div>
|
||||
<div class="r"><input type="text" name="pais" id="pais" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Teléfono:</div>
|
||||
<div class="r"><input type="text" name="telefono" id="telefono" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Correo Electrónico:</div>
|
||||
<div class="r"><input type="text" name="email" id="email" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Contraseña:</div>
|
||||
<div class="r"><input type="password" name="password" id="password" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="agregarCliente" name="agregarCliente"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveCliente"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
59
templates/forms/agregar-cobrar.tpl
Executable file
59
templates/forms/agregar-cobrar.tpl
Executable file
@@ -0,0 +1,59 @@
|
||||
Folio:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:100px; text-align:center">{$info.folio}</div>
|
||||
Vendedor:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:330px">{$info.vendedor}</div>
|
||||
Cajero:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:330px">{$info.usuario}</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div style="height:10px"></div>
|
||||
|
||||
<hr />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="right" height="40">Subtotal:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtSubtotal" style="width:100px">{$info.subtotal|number_format:2:'.':','}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{if $info.tipoDesc != ''}
|
||||
<tr>
|
||||
<td align="right" height="40">Descuento{if $info.tipoDesc == "Porcentaje"} {$info.valDesc}%{/if}:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtSubtotal" style="width:100px">{$info.descuento|number_format:2:'.':','}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" height="40">Subtotal:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtSubtotal" style="width:100px">{$info.subtotalDesc|number_format:2:'.':','}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td align="right" headers="40">I.V.A:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtIva" style="width:100px">{$info.ivaDesc|number_format:2:'.':','}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" height="40"><span style="font-size:14px"><b>Total:</b></span></td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtTotal" style="width:100px; font-weight:bold">{$info.totalDesc|number_format:2:'.':','}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center">
|
||||
<div style="float:left; margin-left:20px">
|
||||
<input type="button" name="btnAgregar" style="padding:10px; width:150px" onclick="CobrarVentaPagos({$info.ventaId})" value="Cobrar Venta" />
|
||||
</div>
|
||||
<div style="float:left; margin-left:10px">
|
||||
<input type="button" name="btnCancel" style="padding:10px; width:150px" onclick="CerrarVta()" value="Cancelar Venta" />
|
||||
</div>
|
||||
</div>
|
||||
20
templates/forms/agregar-color.tpl
Executable file
20
templates/forms/agregar-color.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarColorForm" name="agregarColorForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarColor" name="agregarColor"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddColor"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
45
templates/forms/agregar-comision.tpl
Executable file
45
templates/forms/agregar-comision.tpl
Executable file
@@ -0,0 +1,45 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarComision" id="frmAgregarComision" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveComision" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Tipo:</div>
|
||||
<div class="r">
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="gerente">Gerente</option>
|
||||
<option value="subgerente">Subgerente</option>
|
||||
<option value="vendedor">Vendedor</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* % de Comision con Rango Bajo:</div>
|
||||
<div class="r">
|
||||
<input type="text" name="comisionBajo" id="comisionBajo" class="largeInput" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* % de Comision con Rango Alto:</div>
|
||||
<div class="r">
|
||||
<input type="text" name="comisionAlto" id="comisionAlto" class="largeInput" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Rango:</div>
|
||||
<div class="r">
|
||||
<input type="text" name="rango" id="rango" class="largeInput" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
37
templates/forms/agregar-conjunto.tpl
Executable file
37
templates/forms/agregar-conjunto.tpl
Executable file
@@ -0,0 +1,37 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarConjunto" id="frmAgregarConjunto" method="post" action="">
|
||||
<input type="hidden" id="type" name="type" value="saveConjunto" />
|
||||
<input type="hidden" id="formName" name="formName" value="frmAgregarConjunto" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div id="tallas">
|
||||
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" onclick="AddTalla()">
|
||||
<img src="{$WEB_ROOT}/images/icons/add.png" border="0" />
|
||||
Agregar Nueva Talla</a>
|
||||
</div>
|
||||
|
||||
<div align="center" id="listTallas">
|
||||
{include file="{$DOC_ROOT}/templates/lists/conjunto-valores.tpl"}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
44
templates/forms/agregar-cuenta-bancaria.tpl
Executable file
44
templates/forms/agregar-cuenta-bancaria.tpl
Executable file
@@ -0,0 +1,44 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarCuentaBancariaForm" name="agregarCuentaBancariaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre del Banco:</div>
|
||||
<div class="r"><input type="text" name="banco" id="banco" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No. de Cuenta:</div>
|
||||
<div class="r"><input type="text" name="noCuenta" id="noCuenta" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Sucursal:</div>
|
||||
<div class="r"><input type="text" name="sucursal" id="sucursal" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Titular:</div>
|
||||
<div class="r"><input type="text" name="titular" id="titular" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">CLABE:</div>
|
||||
<div class="r"><input type="text" name="clabe" id="clabe" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarCuentaBancaria" name="agregarCuentaBancaria"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddCuentaBancaria"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
64
templates/forms/agregar-descuento.tpl
Executable file
64
templates/forms/agregar-descuento.tpl
Executable file
@@ -0,0 +1,64 @@
|
||||
<input type="hidden" name="ventaId" id="ventaId" value="{$info.ventaId}" />
|
||||
Folio:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:100px; text-align:center">{$info.folio}</div>
|
||||
Sucursal:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:330px">{$info.sucursal}</div>
|
||||
Vendedor:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:330px">{$info.vendedor}</div>
|
||||
Cajero:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:330px">{$info.usuario}</div>
|
||||
|
||||
<div style="float:left">
|
||||
Tipo de Descuento:
|
||||
<br />
|
||||
<select class="largeInput" name="tipoDescGral" id="tipoDescGral" onchange="UpdateTotales()">
|
||||
<option value="">Sel. Descuento</option>
|
||||
<option value="Dinero">En Dinero</option>
|
||||
<option value="Porcentaje">En Porcentaje</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="float:left; margin-left:20px">
|
||||
Valor
|
||||
<br />
|
||||
<input type="text" class="largeInput" name="valDescGral" id="valDescGral" onblur="UpdateTotales()" />
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div style="height:10px"></div>
|
||||
|
||||
<hr />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="right" height="40">Subtotal:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtSubtotal" style="width:100px">{$info.subtotal|number_format:2:".":","}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" headers="40">I.V.A:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtIva" style="width:100px">{$info.iva|number_format:2:".":","}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" height="40"><span style="font-size:14px"><b>Total:</b></span></td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtTotal" style="width:100px; font-weight:bold">{$info.total|number_format:2:".":","}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center">
|
||||
<div style="float:left; margin-left:20px">
|
||||
<input type="button" name="btnAgregar" style="padding:10px; width:150px" onclick="SaveDescuentos()" value="Finalizar Descuentos" />
|
||||
</div>
|
||||
<div style="float:left; margin-left:10px">
|
||||
<input type="button" name="btnCancel" style="padding:10px; width:150px" onclick="CancelarDescuentos()" value="Cancelar Descuentos" />
|
||||
</div>
|
||||
</div>
|
||||
106
templates/forms/agregar-devolucion-cedis.tpl
Executable file
106
templates/forms/agregar-devolucion-cedis.tpl
Executable file
@@ -0,0 +1,106 @@
|
||||
<div id="divForm">
|
||||
<form id="frmDevolucion" name="frmDevolucion" method="post" onsubmit="return false">
|
||||
<input type="hidden" id="type" name="type" value="saveDevolucion" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">No. de Devolución</td>
|
||||
<td><div class="txtFrm">{$info.noDevolucion}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Sucursal:</td>
|
||||
<td>
|
||||
<select name="sucursalId" id="sucursalId" class="largeInput" style="width:290px" onchange="SearchProducto()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}">{$item.nombre|utf8_decode}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Código Barra:</td>
|
||||
<td>
|
||||
<input name="codigoBarra" id="codigoBarra" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<input type="hidden" name="productoId" id="productoId" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Cantidad a Dev:</td>
|
||||
<td>
|
||||
<input name="cantidad" id="cantidad" type="text" class="largeInput" style="width:290px" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Descripción:</td>
|
||||
<td><div id="enumAtributos" class="txtFrm"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Proveedor:</td>
|
||||
<td><div id="txtProveedor" class="txtFrm"></div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Disponible:</td>
|
||||
<td><div id="txtDisponible" class="txtFrm"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddProducto()">
|
||||
+ Agregar Producto
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<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:300px">
|
||||
<a class="button" name="btnSave" onclick="AddPedido()" style="margin-right:20px">
|
||||
<span>Guardar Devolución</span>
|
||||
</a>
|
||||
<a class="button" href="javascript:void(0)" onclick="CancelDevolucion()">
|
||||
<span>Cancelar Devolución</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
77
templates/forms/agregar-devolucion.tpl
Executable file
77
templates/forms/agregar-devolucion.tpl
Executable file
@@ -0,0 +1,77 @@
|
||||
<div style="float:left">
|
||||
Folio:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:100px; text-align:center">{$info.folio}</div>
|
||||
</div>
|
||||
<div style="float:left; padding-left:40px">
|
||||
Folio Novomoda:
|
||||
<br />
|
||||
<input type="text" class="largeInput" name="ventaId" id="ventaId" value="" style="width:110px" />
|
||||
</div>
|
||||
|
||||
<div style="float:left"></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
Vendedor:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:330px">{$info.usuario}</div>
|
||||
Código de Barra:
|
||||
<br />
|
||||
<input type="text" class="largeInput" name="codigoBarra" id="codigoBarra" style="width:330px" autofocus="autofocus" onkeyup="CheckKey(event)" />
|
||||
Producto:
|
||||
<br />
|
||||
<div class="txtFrm" id="txtProducto" style="width:330px"> </div>
|
||||
<div style="float:left">
|
||||
Cantidad:
|
||||
<br />
|
||||
<input type="text" class="largeInput" name="cantidad" id="cantidad" value="1" />
|
||||
</div>
|
||||
<div style="float:right; margin-right:5px">
|
||||
<br />
|
||||
<input type="button" style="padding:8px; width:100px" onclick="BuscarProducto()" value="Buscar" />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="float:left">
|
||||
Precio Unitario:
|
||||
<br />
|
||||
<div class="txtFrm" id="txtPrecioUni" style="width:100px; text-align:center">0.00</div>
|
||||
</div>
|
||||
|
||||
<div style="float:left; padding-left:10px">
|
||||
Disponible:
|
||||
<br />
|
||||
<div class="txtFrm" id="txtDisp" style="width:100px; text-align:center">0</div>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center" style="padding-top:10px">
|
||||
<input type="hidden" name="idProdItem" id="idProdItem" value="" />
|
||||
<input type="hidden" name="disponible" id="disponible" value="0" />
|
||||
<input type="button" name="btnAgregar" style="padding:10px; width:300px" onclick="AddProduct()" value="Agregar" />
|
||||
</div>
|
||||
|
||||
<div style="height:10px"></div>
|
||||
|
||||
<hr />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="right" height="40"><span style="font-size:14px"><b>Total:</b></span></td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtTotal" style="width:100px; font-weight:bold">0.00</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center">
|
||||
<div style="float:left; margin-left:20px">
|
||||
<input type="button" name="btnAgregar" style="padding:10px; width:150px" onclick="SaveDevolucion()" value="Finalizar Devolución" />
|
||||
</div>
|
||||
<div style="float:left; margin-left:10px">
|
||||
<input type="button" name="btnCancel" style="padding:10px; width:150px" onclick="CancelarDevolucion()" value="Cancelar Devolución" />
|
||||
</div>
|
||||
</div>
|
||||
63
templates/forms/agregar-envio-cedis.tpl
Executable file
63
templates/forms/agregar-envio-cedis.tpl
Executable file
@@ -0,0 +1,63 @@
|
||||
<div id="divForm">
|
||||
<form id="frmMercancia" name="frmMercancia" method="post">
|
||||
<input type="hidden" id="type" name="type" value="sendMercancia" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">* Tienda de Envío:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumSucEnvios.tpl"}</td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr><td colspan="5"> </td></tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: ORDENES PENDIENTES POR ENVIO ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<hr />
|
||||
<div id="ordenes">
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-ordenes-comp.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<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="float:left; margin-left:300px">
|
||||
<a class="button" name="btnSave" onclick="SendMercancia()" style="margin-right:20px">
|
||||
<span>Enviar Mercancia y Generar Talones de Embarque</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center">
|
||||
<a href="{$WEB_ROOT}/envios"><< Regresar</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
56
templates/forms/agregar-envio-reporte.tpl
Executable file
56
templates/forms/agregar-envio-reporte.tpl
Executable file
@@ -0,0 +1,56 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarProducto" id="frmAgregarProducto" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveProducto" />
|
||||
<fieldset>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="a">
|
||||
<div class="l">* No. Envio:</div>
|
||||
<div class="r"><input type="text" name="envioId" id="envioId" class="largeInput wide2" style="width:250px" maxlength="10" tabindex="1"></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Modelo:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrm" style="min-height:20px; width:250px" id="txtModelo"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Tipo:</div>
|
||||
<div class="r">
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:250px" tabindex="3">
|
||||
<option value="Faltante">Faltante</option>
|
||||
<option value="Sobrante">Sobrante</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="a">
|
||||
<div class="l">* Código Barra:</div>
|
||||
<div class="r"><input type="text" name="codigoBarra" id="codigoBarra" class="largeInput wide2" style="width:250px" maxlength="20" onblur="LoadInfoProd()" tabindex="2"></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Cant. Recibida:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrm" style="min-height:20px; width:250px" id="txtCantRec"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Cantidad:</div>
|
||||
<div class="r"><input type="text" name="cantidad" id="cantidad" class="largeInput wide2" style="width:250px" maxlength="10" tabindex="4"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div id="txtLoaderF"></div>
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
129
templates/forms/agregar-envio-tienda.tpl
Executable file
129
templates/forms/agregar-envio-tienda.tpl
Executable file
@@ -0,0 +1,129 @@
|
||||
<div id="divForm">
|
||||
<form id="frmMercancia" name="frmMercancia" method="post" onsubmit="return false">
|
||||
<input type="hidden" id="type" name="type" value="sendMercanciaTienda" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">* Tienda Origen:</td>
|
||||
<td>
|
||||
{if $Usr.type == "gerente"}
|
||||
<div class="txtFrm" style="width:200px">{$Usr.sucursal}</div>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="{$Usr.sucursalId}" />
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumSucEnvO.tpl"}
|
||||
{/if}
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Tienda Destino:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumSucEnvD.tpl"}</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"> </td></tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
|
||||
</tr>
|
||||
{*} <tr>
|
||||
<td width="120" height="40">* Proveedor:</td>
|
||||
<td>
|
||||
<input name="proveedor" id="proveedor" type="text" class="largeInput" style="width:290px" onkeyup="SuggestProveedor()"/>
|
||||
<input type="hidden" name="proveedorId" id="proveedorId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProvDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Departamento:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumProdCat.tpl"}</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Línea:</td>
|
||||
<td><div id="enumLineas">{include file="{$DOC_ROOT}/templates/lists/enumProdSubcatPed.tpl"}</div></td>
|
||||
</tr>{*}
|
||||
<tr>
|
||||
<td width="120" height="40">* Codigo de Barra:</td>
|
||||
<td>
|
||||
<input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<input type="hidden" name="productoId" id="productoId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Descripción:</td>
|
||||
<td><div id="enumAtributos"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="tblProds" align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-tienda-prods.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddProductos()">
|
||||
+ Agregar Productos
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-tienda-prods2.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<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="float:left; margin-left:390px">
|
||||
<a class="button" name="btnSave" onclick="SendMercancia()" style="margin-right:20px">
|
||||
<span>Enviar Mercancia</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center">
|
||||
<a href="{$WEB_ROOT}/envios-tienda"><< Regresar</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{*}
|
||||
<script type="text/javascript">
|
||||
LoadSubcats();
|
||||
</script>
|
||||
{*}
|
||||
82
templates/forms/agregar-evaluacion.tpl
Executable file
82
templates/forms/agregar-evaluacion.tpl
Executable file
@@ -0,0 +1,82 @@
|
||||
<div id="divForm">
|
||||
<form id="frmEvaluacion" name="frmEvaluacion" method="post" onsubmit="return false">
|
||||
<input type="hidden" id="type" name="type" value="saveDevolucion" />
|
||||
<input type="hidden" id="pedidoId" name="pedidoId" value="" />
|
||||
<fieldset>
|
||||
|
||||
<table width="950" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: BUSCAR FACTURA ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">* Folio Proveedor: <br />
|
||||
<input name="folioProv" id="folioProv" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<div style="clear:both"></div>
|
||||
<div align="center" style="margin-left:420px">
|
||||
<a class="button" name="btnSave" onclick="BuscarFactura()" style="margin-right:20px">
|
||||
<span>Buscar</span>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Proveedor:</td>
|
||||
<td><div id="txtProveedor" class="txtFrm"> </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">No. Pedido:</td>
|
||||
<td><div id="txtNoPedido" class="txtFrm"> </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fecha Pedido:</td>
|
||||
<td><div id="txtFechaPed" class="txtFrm"> </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Status:</td>
|
||||
<td><div id="txtStatus" class="txtFrm"> </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fecha Recibido:</td>
|
||||
<td><div id="txtFechaRec" class="txtFrm"> </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Días Transcurridos:</td>
|
||||
<td><div id="txtDiasTrans" class="txtFrm"> </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px; padding-bottom:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="enumProds" style="background-color:#FFFFFF">
|
||||
{include file="{$DOC_ROOT}/templates/lists/evaluacion-productos.tpl"}
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div align="center">
|
||||
<a href="{$WEB_ROOT}/bonificaciones"> << Regresar</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
178
templates/forms/agregar-factura-ticket.tpl
Executable file
178
templates/forms/agregar-factura-ticket.tpl
Executable file
@@ -0,0 +1,178 @@
|
||||
<div id="divForm">
|
||||
<form id="nuevaFactura" name="nuevaFactura" method="post">
|
||||
<input type="hidden" id="userId" name="userId" value="{$post.clienteId}" />
|
||||
<input type="hidden" id="ventaId" name="ventaId" value="{$ventaId}" />
|
||||
<fieldset>
|
||||
<div class="formLine" style="text-align:left;">
|
||||
<div style="width:90px;float:left">Folio Novomoda:</div>
|
||||
<div style="width:172px;float:left">
|
||||
<input type="text" value="{$ventaId}" size="20" class="largeInput" style="background-color:#eee" readonly="readonly" />
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="text-align:left;">
|
||||
<div style="width:90px;float:left">RFC:</div>
|
||||
<div style="width:172px;float:left">
|
||||
<input name="rfc" id="rfc" type="text" value="{$post.rfc}" size="20" class="largeInput" style="background-color:#eee" readonly="readonly" />
|
||||
</div>
|
||||
<div style="width:140px;float:left">Razón Social:</div>
|
||||
<div style="width:320px;float:left"><input name="razonSocial" id="razonSocial" type="text" value="{$post.razonSocial}" disabled="disabled" style="background-color:#eee" size="67" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Calle:</div>
|
||||
<div style="width:320px;float:left"><input name="calle" id="calle" type="text" value="{$post.calle}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">No. Exterior:</div>
|
||||
<div style="width:155px;float:left"><input name="noExt" id="noExt" type="text" value="{$post.noExt}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">No. Interior:</div>
|
||||
<div style="width:155px;float:left"><input name="noInt" id="noInt" type="text" value="{$post.noInt}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Colonia:</div>
|
||||
<div style="width:320px;float:left"><input name="colonia" id="colonia" type="text" value="{$post.colonia}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Municipio:</div>
|
||||
<div style="width:155px;float:left"><input name="municipio" id="municipio" type="text" value="{$post.municipio}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Estado:</div>
|
||||
<div style="width:155px;float:left"><input name="estado" id="estado" type="text" value="{$post.estado}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput" /></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Localidad:</div>
|
||||
<div style="width:320px;float:left"><input name="localidad" id="localidad" type="text" value="{$post.localidad}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">CP:</div>
|
||||
<div style="width:155px;float:left"><input name="cp" id="cp" type="text" value="{$post.cp}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Pais:</div>
|
||||
<div style="width:155px;float:left"><input name="pais" id="pais" type="text" value="{$post.pais}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Referencia:</div>
|
||||
<div style="width:320px;float:left"><input name="referencia" id="referencia" type="text" value="{$post.referencia}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Email:</div>
|
||||
<div style="width:400px;float:left"><input name="email" id="email" type="text" value="{$post.email}" disabled="disabled" style="background-color:#eee" size="53" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Forma de Pago:</div>
|
||||
<div style="width:320px;float:left"><input name="formaDePago" id="formaDePago" type="text" value="Pago en Una Sola Exhibicion" size="40" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
|
||||
<div style="width:90px;float:left">Condiciones de Pago:</div>
|
||||
<div style="width:400px;float:left"><input name="condicionesDePago" id="condicionesDePago" type="text" value="{$post.condicionesDePago}" size="53" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Método de Pago:</div>
|
||||
<div style="width:200px;float:left"><input name="metodoDePago" id="metodoDePago" type="text" value="{$post.metodoPago}" size="20" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
|
||||
<div style="width:90px;float:left">Número de Cuenta:</div>
|
||||
<div style="width:100px;float:left"><input name="numCtaPago" id="numCtaPago" type="text" value="" size="4" class="largeInput" maxlength="4" style="background-color:#eee" readonly="readonly" /></div>
|
||||
<div style="width:90px;float:left">% de IVA:</div>
|
||||
<div style="width:120px;float:left">
|
||||
<select name="tasaIva" id="tasaIva" class="largeInput" style="width:100px; background-color:#eee" readonly="readonly">
|
||||
<option value="0">0</option>
|
||||
<option value="11">11</option>
|
||||
<option value="16" selected="selected">16</option>
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Tipo de Moneda:</div>
|
||||
<div style="width:120px;float:left">
|
||||
<select name="tiposDeMoneda" id="tiposDeMoneda" class="largeInput" style="width:100px;background-color:#eee" readonly="readonly">
|
||||
{foreach from=$tiposDeMoneda item=moneda}
|
||||
<option value="{$moneda.tipo}">{$moneda.moneda}</option>
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">% Retencion Iva:</div>
|
||||
<div style="width:135px;float:left">
|
||||
<select name="porcentajeRetIva" id="porcentajeRetIva" class="largeInput" style="background-color:#eee" readonly="readonly">
|
||||
{foreach from=$retIvas item=iva}
|
||||
<option value="{$iva}">{$iva}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div style="width:62px;float:left">% IEPS:</div>
|
||||
<div style="width:126px;float:left"><input name="porcentajeIEPS" id="porcentajeIEPS" type="text" value="{$post.porcentajeIEPS}" size="12" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
|
||||
|
||||
<div style="width:85px;float:left">% de Descuento:</div>
|
||||
<div style="width:155px;float:left"><input name="porcentajeDescuento" id="porcentajeDescuento" type="text" value="{$post.porcentajeDescuento}" size="15" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
|
||||
<div style="width:90px;float:left">Tipo de Cambio:</div>
|
||||
<div style="width:135px;float:left"><input name="tipoDeCambio" id="tipoDeCambio" type="text" value="{$post.tipoDeCambio}" size="18" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">% Retencion ISR:</div>
|
||||
<div style="width:135px;float:left">
|
||||
<select name="porcentajeRetIsr" id="porcentajeRetIsr" class="largeInput" style="background-color:#eee" readonly="readonly">
|
||||
{foreach from=$retIsrs item=isr}
|
||||
<option value="{$isr}">{$isr}</option> <br />
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Comprobante:</div>
|
||||
<div style="width:340px;float:left">
|
||||
<select name="tiposComprobanteId" id="tiposComprobanteId" class="largeInput" style="width:315px; background-color:#eee" readonly="readonly">
|
||||
{foreach from=$comprobantes item=comprobante}
|
||||
<option value="{$comprobante.tiposComprobanteId}-{$comprobante.serieId}">{$comprobante.nombre} - {$comprobante.consecutivo}</option>
|
||||
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Sucursal:</div>
|
||||
<div style="width:155px;float:left">
|
||||
<div class="txtFrm" style="width:140px">{$infSuc.nombre}</div>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="{$infSuc.sucursalId}" />
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
Conceptos Cargados:
|
||||
<div id="conceptos">
|
||||
{include file="$DOC_ROOT/templates/lists/conceptos-factura-ticket.tpl"}
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
<div class="formLine">
|
||||
<div>Totales Desglosados:</div>
|
||||
<div id="totalesDesglosadosDiv">
|
||||
{include file="$DOC_ROOT/templates/boxes/total-desglosado.tpl"}
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div align="center" id="loader" style="display:none">
|
||||
<img src="{$WEB_ROOT}/images/loading.gif">
|
||||
<br>
|
||||
Generando Comprobante...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
</div>
|
||||
|
||||
<div align="center" id="loaderPrev" style="display:none">
|
||||
<img src="{$WEB_ROOT}/images/loading.gif">
|
||||
<br>
|
||||
Generando Vista Previa del Comprobante...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
</div>
|
||||
|
||||
<div align="center" id="contTemp"></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div class="formLine" style="text-align:center; padding-left:320px" id ="reemplazarBoton">
|
||||
<a class="button" id="generarFactura" name="generarFactura"><span>Generar Comprobante</span></a>
|
||||
<a class="button" id="vistaPrevia" name="vistaPrevia"><span>Vista Previa</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
229
templates/forms/agregar-factura.tpl
Executable file
229
templates/forms/agregar-factura.tpl
Executable file
@@ -0,0 +1,229 @@
|
||||
<div id="divForm">
|
||||
<form id="nuevaFactura" name="nuevaFactura" method="post">
|
||||
<input type="hidden" id="userId" name="userId" value="" />
|
||||
{if $ventaId == "publico"}
|
||||
<input type="hidden" id="tickets" name="tickets" value="{$notasPorFacturar}" />
|
||||
{else}
|
||||
<input type="hidden" id="ventaId" name="ventaId" value="{$ventaId}" />
|
||||
{/if}
|
||||
<fieldset>
|
||||
<div id="loadingDivDatosFactura"></div>
|
||||
|
||||
<div class="formLine" style="text-align:left;">
|
||||
<div style="width:90px;float:left">RFC:</div>
|
||||
<div style="width:172px;float:left">
|
||||
<input name="rfc" id="rfc" type="text" value="{$post.rfc}" size="20" class="largeInput" onkeyup="SuggestCliente()"/>
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugClteDiv"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:140px;float:left">Razón Social:</div>
|
||||
<div style="width:320px;float:left"><input name="razonSocial" id="razonSocial" type="text" value="{$post.razonSocial}" disabled="disabled" style="background-color:#eee" size="67" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Calle:</div>
|
||||
<div style="width:320px;float:left"><input name="calle" id="calle" type="text" value="{$post.calle}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">No. Exterior:</div>
|
||||
<div style="width:155px;float:left"><input name="noExt" id="noExt" type="text" value="{$post.noExt}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">No. Interior:</div>
|
||||
<div style="width:155px;float:left"><input name="noInt" id="noInt" type="text" value="{$post.noInt}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Colonia:</div>
|
||||
<div style="width:320px;float:left"><input name="colonia" id="colonia" type="text" value="{$post.colonia}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Municipio:</div>
|
||||
<div style="width:155px;float:left"><input name="municipio" id="municipio" type="text" value="{$post.municipio}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Estado:</div>
|
||||
<div style="width:155px;float:left"><input name="estado" id="estado" type="text" value="{$post.estado}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput" /></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Localidad:</div>
|
||||
<div style="width:320px;float:left"><input name="localidad" id="localidad" type="text" value="{$post.localidad}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">CP:</div>
|
||||
<div style="width:155px;float:left"><input name="cp" id="cp" type="text" value="{$post.cp}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Pais:</div>
|
||||
<div style="width:155px;float:left"><input name="pais" id="pais" type="text" value="{$post.pais}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Referencia:</div>
|
||||
<div style="width:320px;float:left"><input name="referencia" id="referencia" type="text" value="{$post.referencia}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Email:</div>
|
||||
<div style="width:400px;float:left"><input name="email" id="email" type="text" value="{$post.email}" disabled="disabled" style="background-color:#eee" size="53" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Forma de Pago:</div>
|
||||
<div style="width:320px;float:left"><input name="formaDePago" id="formaDePago" type="text" value="Pago en Una Sola Exhibicion" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Condiciones de Pago:</div>
|
||||
<div style="width:400px;float:left"><input name="condicionesDePago" id="condicionesDePago" type="text" value="{$post.condicionesDePago}" size="53" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Método de Pago:</div>
|
||||
<div style="width:200px;float:left"><input name="metodoDePago" id="metodoDePago" type="text" value="{$post.metodoPago}" size="20" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Número de Cuenta:</div>
|
||||
<div style="width:100px;float:left"><input name="numCtaPago" id="numCtaPago" type="text" value="" size="4" class="largeInput" maxlength="4" /></div>
|
||||
<div style="width:90px;float:left">% de IVA:</div>
|
||||
<div style="width:120px;float:left">
|
||||
<select name="tasaIva" id="tasaIva" class="largeInput" style="width:100px">
|
||||
<option value="0">0</option>
|
||||
<option value="11">11</option>
|
||||
<option value="16" selected="selected">16</option>
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Tipo de Moneda:</div>
|
||||
<div style="width:120px;float:left">
|
||||
<select name="tiposDeMoneda" id="tiposDeMoneda" class="largeInput" style="width:100px">
|
||||
{foreach from=$tiposDeMoneda item=moneda}
|
||||
<option value="{$moneda.tipo}">{$moneda.moneda}</option>
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">% Retencion Iva:</div>
|
||||
<div style="width:135px;float:left">
|
||||
<select name="porcentajeRetIva" id="porcentajeRetIva" class="largeInput">
|
||||
{foreach from=$retIvas item=iva}
|
||||
<option value="{$iva}">{$iva}</option> <br />
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div style="width:62px;float:left">% IEPS:</div>
|
||||
<div style="width:126px;float:left"><input name="porcentajeIEPS" id="porcentajeIEPS" type="text" value="{$post.porcentajeIEPS}" size="12" class="largeInput"/></div>
|
||||
|
||||
<div style="width:85px;float:left">% de Descuento:</div>
|
||||
<div style="width:155px;float:left"><input name="porcentajeDescuento" id="porcentajeDescuento" type="text" value="{$post.porcentajeDescuento}" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Tipo de Cambio:</div>
|
||||
<div style="width:135px;float:left"><input name="tipoDeCambio" id="tipoDeCambio" type="text" value="{$post.tipoDeCambio}" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">% Retencion ISR:</div>
|
||||
<div style="width:135px;float:left">
|
||||
<select name="porcentajeRetIsr" id="porcentajeRetIsr" class="largeInput">
|
||||
{foreach from=$retIsrs item=isr}
|
||||
<option value="{$isr}">{$isr}</option> <br />
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Comprobante:</div>
|
||||
<div style="width:340px;float:left">
|
||||
<select name="tiposComprobanteId" id="tiposComprobanteId" class="largeInput" style="width:315px">
|
||||
{foreach from=$comprobantes item=comprobante}
|
||||
<option value="{$comprobante.tiposComprobanteId}-{$comprobante.serieId}">{$comprobante.nombre} - {$comprobante.consecutivo}</option>
|
||||
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Sucursal:</div>
|
||||
<div style="width:155px;float:left">
|
||||
<div class="txtFrm" style="width:140px">{$infSuc.nombre}</div>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="{$infSuc.sucursalId}" />
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<span id="loadingDivConcepto"></span>
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">Cantidad:</div>
|
||||
<div style="width:150px;float:left">No. Ident:</div>
|
||||
<div style="width:150px;float:left">Unidad:</div>
|
||||
<div style="width:150px;float:left">Valor Unitario:</div>
|
||||
<div style="width:150px;float:left">Excento Iva:</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form id="conceptoForm" name="conceptoForm">
|
||||
<input type="hidden" name="type" id="type" value="" />
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">
|
||||
<input name="cantidad" id="cantidad" type="text" value="{$post.cantidad}" size="15" class="largeInput" placeholder="Cantidad"/></div>
|
||||
<div style="width:150px;float:left">
|
||||
<input name="noIdentificacion" id="noIdentificacion" type="text" value="{$post.noIdentificacion}" size="15" class="largeInput" placeholder="No. Identificacion"/>
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:150px;float:left">
|
||||
<input name="unidad" id="unidad" type="text" value="{$post.unidad}" size="15" class="largeInput" placeholder="Unidad"/></div>
|
||||
<div style="width:150px;float:left">
|
||||
<input name="valorUnitario" id="valorUnitario" type="text" value="{$post.valorUnitario}" size="15" class="largeInput" placeholder="Valor Unitario"/></div>
|
||||
<div style="width:150px;float:left">
|
||||
<select name="excentoIva" id="excentoIva" class="largeInput" style="width:120px">
|
||||
{foreach from=$excentoIva item=iva}
|
||||
<option value="{$iva}">{$iva}</option> <br />
|
||||
{/foreach}
|
||||
</select></div>
|
||||
<div style="width:132px;float:left; cursor:pointer" id="agregarConceptoDiv" class="button"><span>Agregar</span></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div style="width:30%;float:left">
|
||||
<textarea placeholder="Escribe tu concepto aqui" name="descripcion" id="descripcion" cols="33" rows="5" class="largeInput wide">{$post.descripcion}</textarea>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
</div>
|
||||
</form>
|
||||
Conceptos Cargados:
|
||||
<div align="center" id="loader2" style="display:none">
|
||||
<img src="{$WEB_ROOT}/images/load.gif">
|
||||
</div>
|
||||
<div id="conceptos">
|
||||
{include file="$DOC_ROOT/templates/lists/conceptos-facturacion.tpl"}
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
<div class="formLine">
|
||||
<div>Observaciones:</div>
|
||||
<div><textarea placeholder="Observaciones" name="observaciones" cols="33" rows="5" id="observaciones" class="largeInput wide"></textarea></div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div>Totales Desglosados:</div>
|
||||
<div id="totalesDesglosadosDiv">
|
||||
{include file="$DOC_ROOT/templates/boxes/total-desglosado.tpl"}
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div align="center" id="loader" style="display:none">
|
||||
<img src="{$WEB_ROOT}/images/loading.gif">
|
||||
<br>
|
||||
Generando Comprobante...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
</div>
|
||||
|
||||
<div align="center" id="loaderPrev" style="display:none">
|
||||
<img src="{$WEB_ROOT}/images/loading.gif">
|
||||
<br>
|
||||
Generando Vista Previa del Comprobante...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
</div>
|
||||
|
||||
<div align="center" id="contTemp"></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div class="formLine" style="text-align:center; padding-left:320px" id ="reemplazarBoton">
|
||||
<a class="button" id="generarFactura" name="generarFactura"><span>Generar Comprobante</span></a>
|
||||
<a class="button" id="vistaPrevia" name="vistaPrevia"><span>Vista Previa</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
48
templates/forms/agregar-facturacion-folios.tpl
Executable file
48
templates/forms/agregar-facturacion-folios.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
<div id="divForm">
|
||||
<div class="m">
|
||||
<form name="frmAgregarFolios" id="frmAgregarFolios" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveFolios" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Folio Inicial</div>
|
||||
<div class="r"><input type="text" name="folio_inicial" id="folio_inicial" class="largeInput wide2"></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Folio Final</div>
|
||||
<div class="r"><input type="text" name="folio_final" id="folio_final" class="largeInput wide2"></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Comprobante</div>
|
||||
<div class="r">
|
||||
<select name="comprobante" id="comprobante" class="largeInput wide2">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$comprobantes item=com key=key}
|
||||
<option value="{$com.tiposComprobanteId}">{$com.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Número de certificado</div>
|
||||
<div class="r">
|
||||
<select name="no_certificado" id="no_certificado" class="largeInput wide2">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="{$nom_certificado}">{$nom_certificado}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Email de aviso</div>
|
||||
<div class="r"><input type="text" name="email" id="email" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSaveFolios"><span>Agregar</span></a>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
22
templates/forms/agregar-justificante-rechazo.tpl
Executable file
22
templates/forms/agregar-justificante-rechazo.tpl
Executable file
@@ -0,0 +1,22 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarColorForm" name="agregarColorForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Justificante:</div>
|
||||
<div class="r">
|
||||
<textarea id="justificante" name="justificante" rows="5" cols="70"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarJustificante" name="agregarJustificante"><span>Guardar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="bonificacionId" name="bonificacionId" value="{$bonificacionId}"/>
|
||||
<input type="hidden" id="status" name="status" value="{$status}"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-material.tpl
Executable file
20
templates/forms/agregar-material.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarMaterialForm" name="agregarMaterialForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarMaterial" name="agregarMaterial"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddMaterial"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-metodo-pago.tpl
Executable file
20
templates/forms/agregar-metodo-pago.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarMetodoPagoForm" name="agregarMetodoPagoForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarMetodoPago" name="agregarMetodoPago"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddMetodoPago"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
42
templates/forms/agregar-monedero.tpl
Executable file
42
templates/forms/agregar-monedero.tpl
Executable file
@@ -0,0 +1,42 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarMonedero" id="frmAgregarMonedero" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveMonedero" />
|
||||
<input type="hidden" name="codigo" id="codigo" value="{$info.codigo}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Tipo:</div>
|
||||
<div class="r">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumTipoMonedero.tpl" ancho="690px"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Código:</div>
|
||||
<div class="txtFrmD">{$info.codigo} </div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Saldo Inicial:</div>
|
||||
<div class="r">
|
||||
<input type="text" name="saldo" id="saldo" class="largeInput" style="width:680px" value="0.00">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Status:</div>
|
||||
<div class="r" id="enumStatus">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumStatusMon.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-motivo.tpl
Executable file
20
templates/forms/agregar-motivo.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarMotivo" id="frmAgregarMotivo" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveMotivo" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
48
templates/forms/agregar-nota.tpl
Executable file
48
templates/forms/agregar-nota.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
<div id="divForm">
|
||||
<form id="addNotaForm" name="addNotaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center">* No. Nota de Crédito:</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="noNota" id="noNota" type="text" />
|
||||
</td>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">* Cantidad:</td>
|
||||
<td align="center">* Fecha:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="cantidad" id="cantidad" type="text" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div class="r" style="float:left">
|
||||
<input class="largeInput" name="fecha" id="fecha" type="text" />
|
||||
</div>
|
||||
<div style="float:left">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fecha','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" /></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
<div class="formLine">* Campos requeridos</div>
|
||||
<div class="formLine" style="text-align:center; margin-left:300px">
|
||||
<a class="button_grey" id="btnAddNota"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddNota"/>
|
||||
<input type="hidden" id="pedidoId" name="pedidoId" value="{$info.pedidoId}"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
56
templates/forms/agregar-pago-prov.tpl
Executable file
56
templates/forms/agregar-pago-prov.tpl
Executable file
@@ -0,0 +1,56 @@
|
||||
<div id="divForm">
|
||||
<form id="addPagoForm" name="addPagoForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center">* Método de Pago:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumMetodosPago.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">* Cantidad:</td>
|
||||
<td align="center">* Fecha:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="cantidad" id="cantidad" type="text" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div class="r" style="float:left">
|
||||
<input class="largeInput" name="fecha" id="fecha" type="text" />
|
||||
</div>
|
||||
<div style="float:left">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fecha','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" /></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">No. de Factura:</td>
|
||||
<td align="center">No. de Cheque:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="noFactura" id="noFactura" type="text" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="noCheque" id="noCheque" type="text" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
<div class="formLine">* Campos requeridos</div>
|
||||
<div class="formLine" style="text-align:center; margin-left:300px">
|
||||
<a class="button_grey" id="btnAddPago"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddPago"/>
|
||||
<input type="hidden" id="proveedorId" name="proveedorId" value="{$info.proveedorId}"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
48
templates/forms/agregar-pago.tpl
Executable file
48
templates/forms/agregar-pago.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
<div id="divForm">
|
||||
<form id="addPagoForm" name="addPagoForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center">* Método de Pago:</td>
|
||||
<td align="center">No. de Cheque:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumMetodosPago.tpl"}
|
||||
</td>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="noCheque" id="noCheque" type="text" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">* Cantidad:</td>
|
||||
<td align="center">* Fecha:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="largeInput" name="cantidad" id="cantidad" type="text" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div class="r" style="float:left">
|
||||
<input class="largeInput" name="fecha" id="fecha" type="text" />
|
||||
</div>
|
||||
<div style="float:left">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fecha','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" /></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
<div class="formLine">* Campos requeridos</div>
|
||||
<div class="formLine" style="text-align:center; margin-left:300px">
|
||||
<a class="button_grey" id="btnAddPago"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddPago"/>
|
||||
<input type="hidden" id="pedidoId" name="pedidoId" value="{$info.pedidoId}"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
178
templates/forms/agregar-pedido.tpl
Executable file
178
templates/forms/agregar-pedido.tpl
Executable file
@@ -0,0 +1,178 @@
|
||||
<div id="divForm">
|
||||
<form id="frmAgregarPedido" name="frmAgregarPedido" method="post">
|
||||
<input type="hidden" id="type" name="type" value="savePedido" />
|
||||
<input type="hidden" id="key" name="key" value="" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">* Proveedor:</td>
|
||||
<td>
|
||||
<input name="proveedor" id="proveedor" type="text" class="largeInput" style="width:290px" onkeyup="SuggestProveedor()"/>
|
||||
<input type="hidden" name="proveedorId" id="proveedorId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProvDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">No. de Pedido</td>
|
||||
<td><div class="txtFrm">{$info.noPedido}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha del Pedido:</td>
|
||||
<td>
|
||||
<div class="txtFrm">{$info.fechaPedido}</div>
|
||||
<input type="hidden" name="fechaPedido" id="fechaPedido" value="{$info.fechaPedido}" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Fecha de Entrega</td>
|
||||
<td><div style="height:10px"></div>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="135">Del
|
||||
<input name="fechaEntrega" id="fechaEntrega" type="text" class="largeInput" style="width:100px" value="" readonly="readonly" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaEntrega','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" />
|
||||
</a>
|
||||
</td>
|
||||
<td width="138"> Al
|
||||
<input name="fechaEntregaF" id="fechaEntregaF" type="text" class="largeInput" style="width:100px" value="" readonly="readonly" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaEntregaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Método de Compra:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumMetodoCompra.tpl"}</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Resurtido:</td>
|
||||
<td><input type="checkbox" name="resurtido" id="resurtido" value="1" onclick="ShowDistribucion()" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Publicidad:</td>
|
||||
<td><input name="porcPub" id="porcPub" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">% Flete:</td>
|
||||
<td><input name="porcFlete" id="porcFlete" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Desarrollo:</td>
|
||||
<td><input name="porcDes" id="porcDes" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">% Especial:</td>
|
||||
<td><input name="porcEsp" id="porcEsp" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td width="120" align="left" height="40">* Departamento:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumProdCat.tpl"}</td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">* Línea:</td>
|
||||
<td><div id="enumLineas">{include file="{$DOC_ROOT}/templates/lists/enumProdSubcatPed.tpl"}</div></td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td width="120" height="40">* Código Barra:</td>
|
||||
<td>
|
||||
<input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<input type="hidden" name="productoId" id="productoId" value="" />
|
||||
<input type="hidden" name="prodCatId" id="prodCatId" value="" />
|
||||
<input type="hidden" name="prodSubcatId" id="prodSubcatId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Descripción:</td>
|
||||
<td><div id="enumAtributos"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<a href="javascript:void(0)" onclick="AddTalla()"><img src="{$WEB_ROOT}/images/icons/add.png">Agregar Talla</a>
|
||||
|
||||
<a href="javascript:void(0)" onclick="AddColor()"><img src="{$WEB_ROOT}/images/icons/add.png">Agregar Color</a>
|
||||
<div id="tblProporcion" align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-proporciones.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddProducto()">
|
||||
+ Agregar Producto
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="tblDistribucion" style="display:none">
|
||||
<tr>
|
||||
<td align="center" class="lineProd">
|
||||
<b>.:: DISTRIBUCION ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" id="listDist">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-resurtido.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<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:300px">
|
||||
<a class="button" name="btnSave" onclick="AddPedido()" style="margin-right:20px">
|
||||
<span>Enviar a Autorización</span>
|
||||
</a>
|
||||
<a class="button" href="javascript:void(0)" onclick="CancelPedido()">
|
||||
<span>Cancelar Pedido</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
33
templates/forms/agregar-politica.tpl
Executable file
33
templates/forms/agregar-politica.tpl
Executable file
@@ -0,0 +1,33 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarPolitica" id="frmAgregarPolitica" method="post" action="">
|
||||
<input type="hidden" name="type" value="savePolitica" />
|
||||
<fieldset>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<th style="text-align:center;">Porcentaje de Evaluación (1 al 100)</th>
|
||||
<th style="text-align:center;"><div align="center">Acción</div></th>
|
||||
<th style="text-align:center;"><div align="center">Porcentaje de Bonificacion</div></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;"><input type="text" name="porcentaje_evaluacion" id="porcentaje_evaluacion" />%</td>
|
||||
<td style="text-align:center;">
|
||||
<select name="accion" id="accion">
|
||||
<option value="Bonificacion">Bonificacion</option>
|
||||
<option value="Devolucion">Devolucion</option>
|
||||
</select>
|
||||
</td>
|
||||
<td style="text-align:center;"><input type="text" name="porcentaje_bonificacion" id="porcentaje_bonificacion" />%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<a class="button" id="btnSave" style="text-align:center" >
|
||||
<span style="text-align:center">Agregar</span></a>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-producto-categoria.tpl
Executable file
20
templates/forms/agregar-producto-categoria.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarCategoria" id="frmAgregarCategoria" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveCategory" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
34
templates/forms/agregar-producto-subcategoria.tpl
Executable file
34
templates/forms/agregar-producto-subcategoria.tpl
Executable file
@@ -0,0 +1,34 @@
|
||||
<div id="divForm">
|
||||
<form name="frmAgregarSubcategoria" id="frmAgregarSubcategoria" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveSubcategory" />
|
||||
<input type="hidden" name="prodCatId" id="prodCatId" value="{$prodCatId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Atributos:</div>
|
||||
<div class="r">
|
||||
{foreach from=$atributos item=item key=key}
|
||||
<input type="checkbox" name="atributos[]" id="atributo_{$item.atributoId}" value="{$item.atributoId}" />
|
||||
{$item.nombre}
|
||||
<br />
|
||||
{foreachelse}
|
||||
<div align="center">Ningún registro encontrado.</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
156
templates/forms/agregar-producto.tpl
Executable file
156
templates/forms/agregar-producto.tpl
Executable file
@@ -0,0 +1,156 @@
|
||||
<div id="divForm">
|
||||
<form id="frmAgregarProducto" name="frmAgregarProducto" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="type" name="type" value="saveProducto" />
|
||||
<input type="hidden" id="k" name="k" value="" />
|
||||
<input type="hidden" id="tmpImg" name="tmpImg" value="" />
|
||||
<input type="hidden" name="conTallaId" id="conTallaId" value="1" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* Proveedor:</td>
|
||||
<td>
|
||||
<input name="proveedor" id="proveedor" type="text" class="largeInput" style="width:290px" onkeyup="SuggestProveedor()"/>
|
||||
<input type="hidden" name="proveedorId" id="proveedorId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProvDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Departamento:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumProdCat.tpl"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Línea:</td>
|
||||
<td><div id="enumSubcats">{include file="{$DOC_ROOT}/templates/lists/enumProdSubcat.tpl"}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>* Modelo:</td>
|
||||
<td><input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Código de Barra</td>
|
||||
<td><input name="codigoBarra" id="codigoBarra" type="text" class="largeInput" style="width:290px" onblur="LoadBarCodes()"/></td>
|
||||
<td width="10"></td>
|
||||
<td>{* * Conjunto de Tallas: *}</td>
|
||||
<td>{* include file="{$DOC_ROOT}/templates/lists/enumConTallas.tpl" *}</td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: ATRIBUTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="left">
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">* Tallas:</div>
|
||||
<div id="listTallas"></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">* Colores:</div>
|
||||
{foreach from=$colores item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="colores[]" id="color_{$item.atribValId}" value="{$item.atribValId}" onclick="LoadBarCodes()" />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div id="enumAtributos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumAtributos.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPOSICION ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div class="formLine" id="materiales">
|
||||
{include file="{$DOC_ROOT}/templates/lists/productos-materiales.tpl"}
|
||||
</div>
|
||||
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddMaterial()">
|
||||
+ Agregar Material
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="20"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Caract. Especiales:</td>
|
||||
<td><input name="descripcion" id="descripcion" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>* Temporada:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumTemporadas.tpl"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Costo sin IVA:</td>
|
||||
<td><input name="costo" id="costo" type="text" class="largeInput" style="width:290px" onblur="CalcUtilidad()"/></td>
|
||||
<td width="10"></td>
|
||||
<td>* Precio Vta. con IVA:</td>
|
||||
<td><input name="precioVentaIva" id="precioVentaIva" type="text" class="largeInput" style="width:290px" onblur="CalcPrecioSinIva()"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Utilidad:</td>
|
||||
<td><div id="porcUtilidad" class="txtFrm">0.00</div>
|
||||
<input type="hidden" name="utilidad" id="utilidad" value="" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. sin IVA:</td>
|
||||
<td>
|
||||
<div id="txtPrecioVenta" class="txtFrm">{$info.precioVenta}</div>
|
||||
<input type="hidden" id="precioVenta" name="precioVenta" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IMAGEN ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="imagen" id="imagen" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: CODIGOS DE BARRA ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="codigos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/productos-codigos.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{*}
|
||||
</table>
|
||||
|
||||
<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="AddProducto()"><span>Guardar</span></a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br /><br />
|
||||
<div style="margin-left:410px"><a href="{$WEB_ROOT}/productos"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
218
templates/forms/agregar-promocion.tpl
Executable file
218
templates/forms/agregar-promocion.tpl
Executable file
@@ -0,0 +1,218 @@
|
||||
<div id="divForm">
|
||||
<form name="frmPromocion" id="frmPromocion" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="savePromocion" />
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">
|
||||
* Vigencia
|
||||
<br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumVigenciaPromo.tpl"}
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaIni" style="display:none">
|
||||
* Fecha Inicial:
|
||||
<br />
|
||||
<input type="text" class="largeInput" style="width:100px" name="fechaIni" id="fechaIni" maxlength="10" />
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaIni','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaFin" style="display:none">
|
||||
* Fecha Final:
|
||||
<br />
|
||||
<input type="text" class="largeInput" style="width:100px" name="fechaFin" id="fechaFin" maxlength="10" />
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaFin','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="3">
|
||||
* Aplicar Promoción a TODOS los productos?
|
||||
<br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumPromoAplicar.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Sucursal:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkSuc" id="checkSuc" value="1" onclick="CheckAllSuc()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumSucPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="listProducts" style="display:none">
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Departamento:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkDepto" id="checkDepto" value="1" onclick="CheckAllDepto()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdCatPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Línea:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkLinea" id="checkLinea" value="1" onclick="CheckAllLinea()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" id="enumSubcats" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdSubcatPromo.tpl"}
|
||||
</div>
|
||||
<div align="right">
|
||||
<input type="button" value="Actualizar Líneas" style="padding:6px; margin-right:15px" onclick="LoadSubcats()" />
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Proveedor:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkProv" id="checkProv" value="1" onclick="CheckAllProv()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProvPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Producto:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkProd" id="checkProd" value="1" onclick="CheckAllProd()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" id="enumProds" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div id="cantProds" style="float:left"></div>
|
||||
<div align="right">
|
||||
<input type="button" value="Actualizar Productos" style="padding:6px; margin-right:15px" onclick="LoadProductos()" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">* Tipo de Promoción:</td>
|
||||
<td align="left" colspan="2">* Aplica en:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" width="230">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumTiposPromo.tpl"}
|
||||
</td>
|
||||
<td align="left" colspan="2">
|
||||
<div id="enumAplica">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumAplicarPromo.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowXY" style="display:none">
|
||||
<td align="left"></td>
|
||||
<td align="left">
|
||||
* Valor de X: <br />
|
||||
<input type="text" class="largeInput" name="valorX" id="valorX" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Valor Y: <br />
|
||||
<input type="text" class="largeInput" name="valorY" id="valorY" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTipoDesc" style="display:none">
|
||||
<td align="left">
|
||||
* Tipo de Descuento: <br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumDesctosPromo.tpl"}
|
||||
</td>
|
||||
<td align="left">
|
||||
* Valor del Descuento: <br />
|
||||
<input type="text" class="largeInput" name="valorDesc" id="valorDesc" />
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtTotalCompra" style="display:none">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompra" id="totalCompra" />
|
||||
</div>
|
||||
<div id="txtValorN" style="display:none">
|
||||
* Valor N: <br />
|
||||
<input type="text" class="largeInput" name="valorN" id="valorN" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaB" style="display:none">
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompra2" id="totalCompra2" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Cant. de Art. a Regalar: <br />
|
||||
<div id="inputValorDesc">
|
||||
<input type="text" class="largeInput" name="cantArtRegalo" id="cantArtRegalo" />
|
||||
</div>
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaM" style="display:none">
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompraM" id="totalCompraM" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Porcentaje Abonar: <br />
|
||||
<input type="text" class="largeInput" name="porcentajeM" id="porcentajeM" />
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr id="rowProdVentaB" style="display:none">
|
||||
<td align="left" colspan="3">
|
||||
* Código Producto a Regalar: <br />
|
||||
<input type="text" class="largeInput" name="codigoProd" id="codigoProd" onblur="LoadInfoProd()" />
|
||||
<div id="infoProd"></div>
|
||||
<input type="hidden" name="prodId" id="prodId" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
* Status: <br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumStatusPromo.tpl"}
|
||||
</td>
|
||||
<td align="left">
|
||||
Aplica en Productos Rebajados
|
||||
<br />
|
||||
<input type="checkbox" name="rebajado" id="rebajado" value="1" />
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div align="center" id="loader" style="display:none">
|
||||
Este proceso puede tardar unos minutos.
|
||||
<br />Por favor, espere.
|
||||
<br /><img src="{$WEB_ROOT}/images/loading.gif" />
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="text-align:center; padding-left:310px">
|
||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
222
templates/forms/agregar-proveedor.tpl
Executable file
222
templates/forms/agregar-proveedor.tpl
Executable file
@@ -0,0 +1,222 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarProveedorForm" name="agregarProveedorForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No. de Proveedor:</div>
|
||||
<div class="r"><input value="{$noProv}" type="text" name="noProv" id="noProv" maxlength="13" class="largeInput">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* RFC y Homoclave:</div>
|
||||
<div class="r"><input type="text" name="rfc" id="rfc" maxlength="13" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Dirección Fiscal ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Dirección:</div>
|
||||
<div class="r"><input type="text" name="calle" id="calle" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No Exterior:</div>
|
||||
<div class="r"><input type="text" name="noExt" id="noExt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No Interior:</div>
|
||||
<div class="r"><input type="text" name="noInt" id="noInt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Referencia:</div>
|
||||
<div class="r"><input type="text" name="referencia" id="referencia" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Colonia:</div>
|
||||
<div class="r"><input type="text" name="colonia" id="colonia" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Localidad:</div>
|
||||
<div class="r"><input type="text" name="localidad" id="localidad" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Municipio o Delegación:</div>
|
||||
<div class="r"><input type="text" name="municipio" id="municipio" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Estado:</div>
|
||||
<div class="r"><input type="text" name="estado" id="estado" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Pais:</div>
|
||||
<div class="r"><input type="text" name="pais" id="pais" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Código Postal:</div>
|
||||
<div class="r"><input type="text" name="codigoPostal" id="codigoPostal" class="largeInput wide2" maxlength="5">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Ventas ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><input type="text" name="nombreVtas" id="nombreVtas" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><input type="telefonoVtas" name="telefonoVtas" id="calle" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><input type="text" name="celularVtas" id="celularVtas" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><input type="text" name="emailVtas" id="emailVtas" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Pagos ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><input type="text" name="nombrePagos" id="nombrePagos" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><input type="telefonoPagos" name="telefonoPagos" id="calle" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><input type="text" name="celularPagos" id="celularPagos" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><input type="text" name="emailPagos" id="emailPagos" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Entregas ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><input type="text" name="nombreEnt" id="nombreEnt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><input type="telefonoEnt" name="telefonoEnt" id="calle" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><input type="text" name="celularEnt" id="celularEnt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><input type="text" name="emailEnt" id="emailEnt" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Datos Bancarios ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Banco:</div>
|
||||
<div class="r"><input type="text" name="banco" id="banco" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No. de Cuenta:</div>
|
||||
<div class="r"><input type="text" name="noCuenta" id="noCuenta" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">CLABE:</div>
|
||||
<div class="r"><input type="text" name="clabe" id="clabe" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Dirección de Almacén</div>
|
||||
<div class="r"><input type="text" name="almacen" id="almacen" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Plazo</div>
|
||||
<div class="r">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumPlazo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Publicidad</div>
|
||||
<div class="r"><input type="text" name="publicidad" class="largeInput wide2" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Flete</div>
|
||||
<div class="r"><input type="text" name="flete" id="flete" class="largeInput wide2" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Desarrollo</div>
|
||||
<div class="r"><input type="text" name="desarrollo" id="desarrollo" class="largeInput wide2" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Especial</div>
|
||||
<div class="r"><input type="text" name="especial" id="especial" class="largeInput wide2" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Compra en Firme</div>
|
||||
<div class="r">
|
||||
<select id="compraFirme" name="compraFirme" class="largeInput">
|
||||
<option value="Si">Si</option>
|
||||
<option value="No">No</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="agregarProveedor" name="agregarProveedor"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveProveedor"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
37
templates/forms/agregar-solicitud-invparcial.tpl
Executable file
37
templates/forms/agregar-solicitud-invparcial.tpl
Executable file
@@ -0,0 +1,37 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarSolicitudForm" name="agregarSolicitudForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Sucursal:</div>
|
||||
<div class="r">
|
||||
<select name="sucursalId" id="sucursalId" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Tipo:</div>
|
||||
<div class="r">
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:200px">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Total">Total</option>
|
||||
<option value="Parcial">Parcial</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarSolicitud" name="agregarSolicitud"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveSolicitud"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
58
templates/forms/agregar-sucursal.tpl
Executable file
58
templates/forms/agregar-sucursal.tpl
Executable file
@@ -0,0 +1,58 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarSucursalForm" name="agregarSucursalForm" method="post">
|
||||
<fieldset>
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:50%;float:left">* Nombre:</div>
|
||||
<br />
|
||||
<input name="nombre" id="nombre" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Número de Sucursal:</div>
|
||||
<input name="noSuc" id="noSuc" type="text" class="largeInput wide2"/>
|
||||
<br />
|
||||
<div align="center"><b>.:: Dirección ::.</b></div>
|
||||
|
||||
<div style="width:30%;float:left">Calle:</div>
|
||||
<input name="calle" id="calle" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">No. Exterior:</div>
|
||||
<input name="noExt" id="noExt" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">No. Interior:</div>
|
||||
<input name="noInt" id="noInt" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Referencia:</div>
|
||||
<input name="referencia" id="referencia" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Colonia:</div>
|
||||
<input name="colonia" id="colonia" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Localidad:</div>
|
||||
<input name="localidad" id="localidad" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Municipio o Delegación:</div>
|
||||
<input name="municipio" id="municipio" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Ciudad:</div>
|
||||
<input name="ciudad" id="ciudad" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Código Postal:</div>
|
||||
<input name="cp" id="cp" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Estado:</div>
|
||||
<input name="estado" id="estado" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Pais:</div>
|
||||
<input name="pais" id="pais" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Teléfono:</div>
|
||||
<input name="telefono" id="telefono" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Google Map:</div>
|
||||
<input name="mapa" id="mapa" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Nombre del Arrendatario:</div>
|
||||
<input name="arrendatario" id="arrendatario" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Monto de la Renta:</div>
|
||||
<input name="montoRenta" id="montoRenta" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Fecha de Vencimiento:</div>
|
||||
<input name="fechaVenc" id="fechaVenc" type="text" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">* % IVA:</div>
|
||||
<input name="iva" id="iva" type="text" class="largeInput wide2"/>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="agregarSucursal" name="agregarSucursal"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-talla.tpl
Executable file
20
templates/forms/agregar-talla.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarTallaForm" name="agregarTallaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarTalla" name="agregarTalla"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddTalla"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-temporada.tpl
Executable file
20
templates/forms/agregar-temporada.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form id="agregarTemporadaForm" name="agregarTemporadaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="agregarTemporada" name="agregarTemporada"><span>Agregar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddTemporada"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
20
templates/forms/agregar-ticket-facturar.tpl
Executable file
20
templates/forms/agregar-ticket-facturar.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<div id="divForm">
|
||||
<form id="frmTicket" name="frmTicket" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Ingrese el Folio Novomoda del Ticket:</div>
|
||||
<div class="r"><input type="text" name="ventaId" id="ventaId" class="largeInput wide2" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" onclick="SaveTicket()"><span>Continuar >></span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveAddTicket"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
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>
|
||||
90
templates/forms/agregar-venta.tpl
Executable file
90
templates/forms/agregar-venta.tpl
Executable file
@@ -0,0 +1,90 @@
|
||||
Folio:
|
||||
<br />
|
||||
<div class="txtFrm" style="width:100px; text-align:center" id="txtNoFolio">{$info.folio}</div>
|
||||
Vendedor:
|
||||
<br />
|
||||
<select name="vendedorId" id="vendedorId" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$vendedores item=item key=key}
|
||||
<option value="{$item.usuarioId}" {if $info.vendedorId == $item.usuarioId}selected{/if}>{$item.nombre} {$item.apellidos}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<br />
|
||||
Código de Barra:
|
||||
<br />
|
||||
<input type="text" class="largeInput" name="codigoBarra" id="codigoBarra" style="width:330px" autofocus="autofocus" onkeyup="CheckKey(event)" />
|
||||
Producto:
|
||||
<br />
|
||||
<div class="txtFrm" id="txtProducto" style="width:330px"> </div>
|
||||
<div style="float:left">
|
||||
Cantidad:
|
||||
<br />
|
||||
<input type="text" class="largeInput" name="cantidad" id="cantidad" value="1" onkeyup="CheckKeyAdd(event)" />
|
||||
</div>
|
||||
<div style="float:right; margin-right:5px">
|
||||
<br />
|
||||
<input type="button" style="padding:8px; width:100px" onclick="BuscarProducto()" value="Buscar" />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="float:left">
|
||||
Precio Unitario:
|
||||
<br />
|
||||
<div class="txtFrm" id="txtPrecioUni" style="width:100px; text-align:center">0.00</div>
|
||||
</div>
|
||||
|
||||
<div style="float:left; padding-left:10px">
|
||||
Disponible:
|
||||
<br />
|
||||
<div class="txtFrm" id="txtDisp" style="width:100px; text-align:center">0</div>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center" style="padding-top:10px; padding-bottom:5px">
|
||||
<input type="hidden" name="tipoProd" id="tipoProd" value="" />
|
||||
<input type="hidden" name="idProdItem" id="idProdItem" value="" />
|
||||
<input type="hidden" name="disponible" id="disponible" value="0" />
|
||||
<input type="button" name="btnAgregar" style="padding:10px; width:300px" onclick="AddProduct()" value="Agregar" />
|
||||
</div>
|
||||
|
||||
<div align="center">
|
||||
<input type="button" name="btnEspera" value="Venta en Espera" style="padding:6px" onclick="SaveEspera()" />
|
||||
<input type="button" name="btnDesc" value="Descuentos" style="padding:6px" onclick="AplicarDescuentos()" />
|
||||
<input type="button" name="btnPromo" id="btnPromo" value="Promociones" style="padding:6px; display:none" onclick="AplicarPromo()" />
|
||||
</div>
|
||||
|
||||
<div style="height:10px"></div>
|
||||
|
||||
<hr />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="right" height="40">Subtotal:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtSubtotal" style="width:100px">{if $info.subtotal}{$info.subtotal}{else}0.00{/if}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" headers="40">I.V.A:</td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtIva" style="width:100px">{if $info.iva}{$info.iva}{else}0.00{/if}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" height="40"><span style="font-size:14px"><b>Total:</b></span></td>
|
||||
<td width="120" align="right">
|
||||
<div class="txtFrm" id="txtTotal" style="width:100px; font-weight:bold">{if $info.total}{$info.total}{else}0.00{/if}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center">
|
||||
<div style="float:left; margin-left:20px">
|
||||
<input type="button" name="btnAgregar" id="btnCobVta" style="padding:10px; width:150px" onclick="CobrarVentaDiv()" value="Finalizar Venta" />
|
||||
</div>
|
||||
<div style="float:left; margin-left:10px">
|
||||
<input type="button" name="btnCancel" style="padding:10px; width:150px" onclick="CancelarVenta()" value="Cancelar Venta" />
|
||||
</div>
|
||||
</div>
|
||||
28
templates/forms/calificar-proveedor.tpl
Executable file
28
templates/forms/calificar-proveedor.tpl
Executable file
@@ -0,0 +1,28 @@
|
||||
<div id="divForm">
|
||||
<form id="frmCalificarProv" name="frmCalificarProv" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Calificación:</div>
|
||||
<div class="r"><input value="{$info.calificacion}" type="text" name="calificacion" id="calificacion" class="largeInput">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Comentario:</div>
|
||||
<div class="r"><textarea name="comentario" id="comentario" class="largeInput wide2">{$info.comentario}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnSave" name="btnSave"><span>Guardar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveCalifProv"/>
|
||||
<input type="hidden" name="pedidoId" id="pedidoId" value="{$info.pedidoId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
119
templates/forms/detalles-cliente.tpl
Executable file
119
templates/forms/detalles-cliente.tpl
Executable file
@@ -0,0 +1,119 @@
|
||||
<div id="divForm">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* RFC y Homoclave:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.rfc} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.nombre} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Dirección:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.calle} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No Exterior:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.noExt} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">No Interior:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.noInt} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Referencia:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.referencia} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Colonia:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.colonia} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Localidad:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.localidad} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Municipio o Delegación:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.municipio} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Código Postal:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.cp} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Estado:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.estado} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Pais:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.pais} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Teléfono:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.telefono} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Correo Electrónico:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.email} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Password:</div>
|
||||
<div class="r">
|
||||
<div class="txtFrmD">{$post.password} </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnClose"><span>Cerrar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
39
templates/forms/detalles-cuenta-bancaria.tpl
Executable file
39
templates/forms/detalles-cuenta-bancaria.tpl
Executable file
@@ -0,0 +1,39 @@
|
||||
<div id="divForm">
|
||||
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre del Banco:</div>
|
||||
<div class="txtFrmD">{$info.banco} </div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No. de Cuenta:</div>
|
||||
<div class="txtFrmD">{$info.noCuenta} </div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Sucursal:</div>
|
||||
<div class="txtFrmD">{$info.sucursal} </div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Titular:</div>
|
||||
<div class="txtFrmD">{$info.titular} </div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">CLABE:</div>
|
||||
<div class="txtFrmD">{$info.clabe} </div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="btnClose" name="btnClose"><span>Cerrar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
50
templates/forms/detalles-devolucion-cedis.tpl
Executable file
50
templates/forms/detalles-devolucion-cedis.tpl
Executable file
@@ -0,0 +1,50 @@
|
||||
<div id="divForm">
|
||||
<form id="frmDevolucion" name="frmDevolucion" method="post" onsubmit="return false">
|
||||
<input type="hidden" id="type" name="type" value="saveDevolucion" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">No. de Devolución</td>
|
||||
<td><div class="txtFrm">{$info.devCedisId}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha</td>
|
||||
<td><div class="txtFrm">{$info.fecha|date_format:"%d-%m-%Y %k:%M:%S"}</div></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dev2.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div align="center"><a href="{$WEB_ROOT}/devoluciones-cedis"><< Regresar</a></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
79
templates/forms/detalles-envio-cedis.tpl
Executable file
79
templates/forms/detalles-envio-cedis.tpl
Executable file
@@ -0,0 +1,79 @@
|
||||
<div id="divForm">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">Tienda Origen:</td>
|
||||
<td><div class="txtFrm">CEDIS</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Tienda Destino:</td>
|
||||
<td><div class="txtFrm">{$info.sucursal}</div></td>
|
||||
</tr>
|
||||
{if $info.status == "Pendiente"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">En Tránsito</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Envío:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Recibido"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">Recibido</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Recibido:</td>
|
||||
<td><div class="txtFrm">{$info.fechaRecibido}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: ORDENES DE COMPRA ENVIADAS A SUCURSAL ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<hr />
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-ordenes-comp2.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{if $info.status == "Recibido"}
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: ORDENES DE COMPRA RECIBIDAS EN SUCURSAL ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<hr />
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-recibir-mercancia2.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<hr />
|
||||
|
||||
|
||||
<div align="center">
|
||||
<a href="{$WEB_ROOT}/envios">Regresar</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
244
templates/forms/detalles-envio-tienda.tpl
Executable file
244
templates/forms/detalles-envio-tienda.tpl
Executable file
@@ -0,0 +1,244 @@
|
||||
<div id="divForm">
|
||||
<form name="frmRecibir" id="frmRecibir">
|
||||
<input type="hidden" name="type" value="recibirMercanciaT" />
|
||||
<input type="hidden" name="envioId" value="{$info.envioId}" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">Tienda Origen:</td>
|
||||
<td><div class="txtFrm">{$info.nomSucOrigen}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Tienda Destino:</td>
|
||||
<td><div class="txtFrm">{$info.sucDestino}</div></td>
|
||||
</tr>
|
||||
|
||||
{if $info.status != "Pendiente"}
|
||||
<tr>
|
||||
<td width="120" height="40">Usuario Envío:</td>
|
||||
<td><div class="txtFrm">{$info.userEnvio}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Envío:</td>
|
||||
<td><div class="txtFrm">{$info.fechaEnvio}</div></td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $info.status == "Pendiente"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">Pte. de Autorización</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Envío:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Autorizado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">Transferencias Pendientes</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Autorización:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "AutSuc"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">En Tránsito</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Autorización:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Recibido"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">Recibido</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Recepción:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Rechazado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Status:</td>
|
||||
<td><div class="txtFrm">Rechazado</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Rechazo:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Motivo:</td>
|
||||
<td><div class="txtFrm">{$info.motivo} {if $info.otroMotivo}:: {$info.otroMotivo}{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ENVIADOS A SUCURSAL ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-tienda-prods3.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{if $info.status == "AutSuc" || $info.status == "Recibido"}
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<b>.:: NO. CAJAS ENVIADAS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div class="txtFrm">{$info.noCajas}</div>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" && $Usr.sucursalId == $info.sucursalId && $info.status == "AutSuc"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS RECIBIDOS EN SUCURSAL ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-tienda-prods4.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<b>.:: NO. CAJAS RECIBIDAS::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<input type="text" name="noCajasRec" id="noCajasRec" class="smallInput" />
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $info.status == "Recibido"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS RECIBIDOS EN SUCURSAL ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/envios-tienda-prods5.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<b>.:: NO. CAJAS RECIBIDAS::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div class="txtFrm">{$info.noCajasRec}</div>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
</table>
|
||||
</form>
|
||||
<hr />
|
||||
{if $info.status == "Autorizado" && $Usr.type == "gerente" && $Usr.sucursalId == $info.sucOrigen}
|
||||
<div align="center">
|
||||
<b>No. de Cajas:</b>
|
||||
<br />
|
||||
<input type="text" name="noCajas" id="noCajas" class="smallInput" />
|
||||
</div>
|
||||
<hr />
|
||||
{/if}
|
||||
|
||||
<br />
|
||||
|
||||
<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>
|
||||
|
||||
{if $Usr.type == "direccion" && $info.status == "Pendiente"}
|
||||
<div style="margin-left:340px">
|
||||
<a class="button" name="btnSave" onclick="AutorizarEnvio({$info.envioId})" style="margin-right:20px">
|
||||
<span>Autorizar Envío</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a class="button" name="btnSave" onclick="RechazarEnvioPopup({$info.envioId})" style="margin-right:20px">
|
||||
<span>Rechazar Envío</span>
|
||||
</a>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" && $info.status == "Autorizado" && $Usr.sucursalId == $info.sucOrigen}
|
||||
<div style="margin-left:395px">
|
||||
<a class="button" name="btnSave" onclick="AutorizarEnvioSuc({$info.envioId})" style="margin-right:20px">
|
||||
<span>Autorizar Envío</span>
|
||||
</a>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" && $Usr.sucursalId == $info.sucursalId && $info.status == "AutSuc"}
|
||||
<div style="margin-left:395px">
|
||||
<a class="button" name="btnSave" onclick="RecibirMercancia()" style="margin-right:20px">
|
||||
<span>Recibir Mercancia</span>
|
||||
</a>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
<div align="center"><a href="javascript:void(0)" onclick="history.back(-1)"> << Regresar </a></div>
|
||||
|
||||
</div>
|
||||
170
templates/forms/detalles-inventario.tpl
Executable file
170
templates/forms/detalles-inventario.tpl
Executable file
@@ -0,0 +1,170 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<td width="130" height="40">Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.proveedor}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Departamento:</td>
|
||||
<td><div class="txtFrm">{$info.departamento}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Línea:</td>
|
||||
<td><div class="txtFrm">{$info.linea}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Modelo:</td>
|
||||
<td><div class="txtFrm">{$info.modelo} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td>Código de Barra:</td>
|
||||
<td><div class="txtFrm">{$info.codigoBarra} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: ATRIBUTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="left">
|
||||
<div class="formLine">
|
||||
<div style="width:120px;float:left">Tallas:</div>
|
||||
<div style="width:320px;float:left; font-size:14px">
|
||||
</div>
|
||||
{foreach from=$tallas item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
- {$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:120px;float:left">Colores:</div>
|
||||
<div style="width:320px;float:left">
|
||||
</div>
|
||||
{foreach from=$colores item=item key=key}
|
||||
<div style="width:150px;float:left; font-size:14px">
|
||||
- {$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
{foreach from=$atributos item=item key=key}
|
||||
<div class="formLine">
|
||||
<div style="width:120px;float:left">{$item.nombre}:</div>
|
||||
<div style="width:320px;float:left; font-size:14px">
|
||||
</div>
|
||||
{foreach from=$item.valores item=itm key=key}
|
||||
<div style="width:150px;float:left">
|
||||
- {$itm.nombre}
|
||||
</div>
|
||||
{foreachelse}
|
||||
<div style="width:150px;float:left">
|
||||
- Ninguno seleccionado.
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPOSICION ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
{foreach from=$prodMats item=item key=key}
|
||||
<tr>
|
||||
<td width="130" align="left">Material</td>
|
||||
<td align="left" height="40"><div class="txtFrm">{$item.material}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">% Porcentaje</td>
|
||||
<td align="left"><div class="txtFrm">{$item.porcentaje}</div></td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td align="center"><br />Ningún material encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Caract. Especiales:</td>
|
||||
<td><div class="txtFrm">{$info.descripcion}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Temporada:</td>
|
||||
<td><div class="txtFrm">{$info.temporada}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Costo sin IVA:</td>
|
||||
<td><div class="txtFrm">{$info.costo}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. con IVA:</td>
|
||||
<td><div class="txtFrm">{$info.precioVentaIva}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Utilidad:</td>
|
||||
<td><div class="txtFrm">{$info.porcUtilidad}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. sin IVA:</td>
|
||||
<td><div class="txtFrm">{$info.precioVenta}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" height="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IMAGEN ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
{if $info.imagen != ""}
|
||||
<a href="{$WEB_ROOT}/images/productos/{$info.imagen}" rel="clearbox">
|
||||
<img src="{$WEB_ROOT}/images/productos/{$info.imagen}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" height="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: CODIGOS DE BARRA ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<td align="center" height="50">Artículo</td>
|
||||
<td align="center">Código de Barra</td>
|
||||
<td align="center">{if $tipo == "Bloqueados"}Cant. Bloqueados{else}Cant. Disponible{/if}</td>
|
||||
</tr>
|
||||
{foreach from=$codigos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="40">
|
||||
<div class="txtFrm" style="width:240px">{$item.nombre}</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div class="txtFrm" style="width:240px">{$item.codigo}</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div class="txtFrm" style="width:240px">{$item.cantidad}</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td align="center" colspan="3">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
<div align="center"><a href="javascript:void(0)" onclick="history.back(-1)"><< Regresar</a></div>
|
||||
|
||||
267
templates/forms/detalles-pedido-distribucion.tpl
Executable file
267
templates/forms/detalles-pedido-distribucion.tpl
Executable file
@@ -0,0 +1,267 @@
|
||||
<div id="divForm">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">No. Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.noProv}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.proveedor}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">No. de Pedido:</td>
|
||||
<td><div class="txtFrm">{$info.noPedido}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha del Pedido:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Entrega:</td>
|
||||
<td>
|
||||
<div class="txtFrm">
|
||||
{$info.fechaEntrega}
|
||||
{if $info.fechaEntregaF}
|
||||
Al {$info.fechaEntregaF}
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Método de Compra:</td>
|
||||
<td><div class="txtFrm">{$info.metodoCompra}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Status:</td>
|
||||
<td><div class="txtFrm">
|
||||
{if $info.status == "Pendiente"}
|
||||
Pendiente de Aprobación
|
||||
{elseif $info.status == "Aprobado"}
|
||||
En espera de Distribución
|
||||
{elseif $info.status == "Rechazado" && $info.resurtido == "1"}
|
||||
Resurtido No Autorizado
|
||||
{elseif $info.status == "Rechazado"}
|
||||
Rechazado
|
||||
{elseif $info.status == "Distribucion" && $info.resurtido == "1"}
|
||||
Resurtido Pendiente de Autorización
|
||||
{elseif $info.status == "Distribucion"}
|
||||
Pendiente Autorización Distribución
|
||||
{elseif $info.status == "Autorizado"}
|
||||
Orden de Compra Pte. de Envío a Prov.
|
||||
{elseif $info.status == "Sugerencia"}
|
||||
Con Obs. de Distribución
|
||||
{elseif $info.status == "OrdenCompEnv"}
|
||||
Orden Pendiente de Ingreso a CEDIS
|
||||
{elseif $info.status == "OrdenCompEnvCan"}
|
||||
Orden de Compra Enviada Cancelada
|
||||
{elseif $info.status == "OrdenCompIng"}
|
||||
Pte. Envío a Tiendas
|
||||
{elseif $info.status == "EnvSuc"}
|
||||
Envíado a Tiendas
|
||||
{/if}
|
||||
</div></td>
|
||||
</tr>
|
||||
{if $info.status == "Aprobado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Aprobación:</td>
|
||||
<td><div class="txtFrm">{$info.fechaAprobacion}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Rechazado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Motivo:</td>
|
||||
<td><div class="txtFrm">{$info.motivo} {if $info.otroMotivo}:: {$info.otroMotivo}{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Rechazo:</td>
|
||||
<td><div class="txtFrm">{$info.fechaRechazo}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
|
||||
{elseif $info.status == "Distribucion"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Envio para Autorización:</td>
|
||||
<td><div class="txtFrm">{$info.fechaDistribucion}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Autorizado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Autorización:</td>
|
||||
<td><div class="txtFrm">{$info.fechaAutorizacion}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Sugerencia"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Envío Sugerencias:</td>
|
||||
<td><div class="txtFrm">{$info.fechaSugerencia}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "OrdenCompEnv"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Envío Orden de Compra:</td>
|
||||
<td><div class="txtFrm">{$info.fechaOrdenCompEnv}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "OrdenCompIng"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Ingreso Orden de Compra:</td>
|
||||
<td><div class="txtFrm">{$info.fechaOrdenCompIng}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 1:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha 1:</td>
|
||||
<td><div class="txtFrm">{$info.fechaFolio}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 2:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv2} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha 2:</td>
|
||||
<td><div class="txtFrm">{$info.fechaFolio2} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 3:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv3} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha 3:</td>
|
||||
<td><div class="txtFrm">{$info.fechaFolio3} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 4:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv4} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha 4:</td>
|
||||
<td><div class="txtFrm">{$info.fechaFolio4} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 5:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv5} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha 5:</td>
|
||||
<td><div class="txtFrm">{$info.fechaFolio5}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "EnvSuc"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td colspan="5"> </td></tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<b>.:: TOTALES ::.</b>
|
||||
{if $info.status == "Distribucion" || $info.status == "Aprobado" || $info.status == "Sugerencia" || $info.status == "Autorizado" || $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIng" || $info.status == "EnvSuc"}
|
||||
<div style="float:right"> <a href="javascript:void(0)" id="showTotal" onclick="ShowTotales()">[-]</a> </div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="totales" style="display:{if $info.status == "Distribucion" || $info.status == "Aprobado" || $info.status == "Sugerencia" || $info.status == "Autorizado" || $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIng" || $info.status == "EnvSuc"}{/if}; padding-top:10px">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos3.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<div id="totales">
|
||||
<b>.:: DISTRIBUCION ::.</b>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" id="listProds">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist6.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
<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="margin-left:382px;">
|
||||
<a class="button" name="btnSave" onclick="DistribucionPedido()">
|
||||
<span>Guardar Distribución</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
<div align="center"><a href="javascript:void(0)" onclick="history.back(-1)"> << Regresar </a></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
491
templates/forms/detalles-pedido.tpl
Executable file
491
templates/forms/detalles-pedido.tpl
Executable file
@@ -0,0 +1,491 @@
|
||||
<div id="divForm">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">No. Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.noProv}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.proveedor}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">No. de Pedido:</td>
|
||||
<td><div class="txtFrm">{$info.noPedido}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha del Pedido:</td>
|
||||
<td><div class="txtFrm">{$info.fecha}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Entrega:</td>
|
||||
<td>
|
||||
<div class="txtFrm">
|
||||
{$info.fechaEntrega}
|
||||
{if $info.fechaEntregaF}
|
||||
Al {$info.fechaEntregaF}
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Método de Compra:</td>
|
||||
<td><div class="txtFrm">{$info.metodoCompra}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Status:</td>
|
||||
<td><div class="txtFrm">
|
||||
{if $info.status == "Pendiente"}
|
||||
Pendiente de Aprobación
|
||||
{elseif $info.status == "Aprobado"}
|
||||
En espera de Distribución
|
||||
{elseif $info.status == "Rechazado" && $info.resurtido == "1"}
|
||||
Resurtido No Autorizado
|
||||
{elseif $info.status == "Rechazado"}
|
||||
Rechazado
|
||||
{elseif $info.status == "Distribucion" && $info.resurtido == "1"}
|
||||
Resurtido Pendiente de Autorización
|
||||
{elseif $info.status == "Distribucion"}
|
||||
Pendiente Autorización Distribución
|
||||
{elseif $info.status == "Autorizado"}
|
||||
Orden de Compra Pte. de Envío a Prov.
|
||||
{elseif $info.status == "Sugerencia"}
|
||||
Con Obs. de Distribución
|
||||
{elseif $info.status == "OrdenCompEnv"}
|
||||
Orden Pendiente de Ingreso a CEDIS
|
||||
{elseif $info.status == "OrdenCompEnvCan"}
|
||||
Orden de Compra Enviada Cancelada
|
||||
{elseif $info.status == "OrdenCompIng"}
|
||||
{* Pte. Envío a Tiendas *}
|
||||
Mercancía Recibida en CEDIS
|
||||
{elseif $info.status == "OrdenCompIngP"}
|
||||
Merc. Rec. Parcialmente en CEDIS
|
||||
{elseif $info.status == "EnvSuc"}
|
||||
Envíado a Tiendas
|
||||
{/if}
|
||||
</div></td>
|
||||
</tr>
|
||||
{if $info.status == "Aprobado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Aprobación:</td>
|
||||
<td><div class="txtFrm">{$info.fechaAprobacion}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Rechazado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Motivo:</td>
|
||||
<td><div class="txtFrm">{$info.motivo} {if $info.otroMotivo}:: {$info.otroMotivo}{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha Rechazo:</td>
|
||||
<td><div class="txtFrm">{$info.fechaRechazo}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
|
||||
{elseif $info.status == "Distribucion"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Envio para Autorización:</td>
|
||||
<td><div class="txtFrm">{$info.fechaDistribucion}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Autorizado"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Autorización:</td>
|
||||
<td><div class="txtFrm">{$info.fechaAutorizacion}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "Sugerencia"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Envío Sugerencias:</td>
|
||||
<td><div class="txtFrm">{$info.fechaSugerencia}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIngP"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Envío Orden de Compra:</td>
|
||||
<td><div class="txtFrm">{$info.fechaOrdenCompEnv}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40"></td>
|
||||
<td></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "OrdenCompIng"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha de Ingreso Orden de Compra:</td>
|
||||
<td><div class="txtFrm">{$info.fechaOrdenCompIng}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 1:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha Folio 1:</td>
|
||||
<td><div class="txtFrm">{if $info.fechaFolio != "0000-00-00"}{$info.fechaFolio|date_format:"%d-%m-%Y"}{/if} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 2:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv2} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha Folio 2:</td>
|
||||
<td><div class="txtFrm">{if $info.fechaFolio2 != "0000-00-00"}{$info.fechaFolio2|date_format:"%d-%m-%Y"}{/if} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 3:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv3} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha Folio 3:</td>
|
||||
<td><div class="txtFrm">{if $info.fechaFolio3 != "0000-00-00"}{$info.fechaFolio3|date_format:"%d-%m-%Y"}{/if} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 4:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv4} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha Folio 4:</td>
|
||||
<td><div class="txtFrm">{if $info.fechaFolio4 != "0000-00-00"}{$info.fechaFolio4|date_format:"%d-%m-%Y"}{/if} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Folio Proveedor 5:</td>
|
||||
<td><div class="txtFrm">{$info.folioProv5} </div></td>
|
||||
<td width="10"></td>
|
||||
<td width="120" height="40">Fecha Folio 5:</td>
|
||||
<td><div class="txtFrm">{if $info.fechaFolio5 != "0000-00-00"}{$info.fechaFolio5|date_format:"%d-%m-%Y"}{/if} </div></td>
|
||||
</tr>
|
||||
{elseif $info.status == "EnvSuc"}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr>
|
||||
<td width="120" height="40">Resurtido:</td>
|
||||
<td><div class="txtFrm">{if $info.resurtido == 1}Sí{else}No{/if}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Usuario:</td>
|
||||
<td><div class="txtFrm">{$info.usuario}</div></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td colspan="5"> </td></tr>
|
||||
{if $info.status != "Pendiente"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
<div style="float:right"> <a href="javascript:void(0)" id="showProd" onclick="ShowProductos()">[-]</a> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos" style="padding-top:10px">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos2.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<b>.:: TOTALES ::.</b>
|
||||
{if $info.status == "Distribucion" || $info.status == "Aprobado" || $info.status == "Sugerencia" || $info.status == "Autorizado" || $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIng" || $info.status == "OrdenCompIngP" || $info.status == "EnvSuc"}
|
||||
<div style="float:right"> <a href="javascript:void(0)" id="showTotal" onclick="ShowTotales()">[-]</a> </div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="totales" style="display:{if $info.status == "Distribucion" || $info.status == "Aprobado" || $info.status == "Sugerencia" || $info.status == "Autorizado" || $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIng" || $info.status == "OrdenCompIngP" || $info.status == "EnvSuc"}{/if}; padding-top:10px">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos3.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{if $info.status == "Aprobado" || $info.status == "Distribucion" || $info.status == "Sugerencia" || $info.status == "Autorizado" || $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIng" || $info.status == "OrdenCompIngP" || $info.status == "EnvSuc"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<div id="totales">
|
||||
<b>.:: DISTRIBUCION ::.</b>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" id="listProds">
|
||||
{if $info.status == "Aprobado" && ($Usr.type == "compras" || $Usr.type == "almacen")}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist.tpl"}
|
||||
{elseif $info.status == "Distribucion" && $Usr.type == "direccion" && $info.resurtido == "1"}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist4.tpl"}
|
||||
{elseif $info.status == "Distribucion" && ($Usr.type == "direccion" || $Usr.type == "almacen")}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist2.tpl"}
|
||||
{elseif $info.status == "Sugerencia" && $Usr.type == "compras"}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist3.tpl"}
|
||||
{elseif ($info.status == "OrdenCompEnv" || $info.status == "OrdenCompIngP") && $Usr.type == "almacen"}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist5.tpl"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-dist4.tpl"}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $info.status == "Autorizado" && $info.piezasCaja == 0 && $Usr.type == "compras"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<b>.:: PIEZAS POR CAJA ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-cajas.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
{elseif $info.status == "Autorizado" || $info.status == "OrdenCompEnv" || $info.status == "OrdenCompIng" || $info.status == "OrdenCompIngP" || $info.status == "EnvSuc"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" class="lineProd">
|
||||
<b>.:: PIEZAS POR CAJA ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-cajas2.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
{if ($info.status == "OrdenCompEnv" || $info.status == "OrdenCompIngP") && $Usr.type == "almacen"}
|
||||
<div align="center">
|
||||
<form name="frmFolios" id="frmFolios">
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center"><b>Folio del Proveedor</b></td>
|
||||
<td align="center"><b>Fecha</b></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
{for $ii = 1 to 5}
|
||||
|
||||
{if $ii == 1}
|
||||
{assign var="folio" value="{$info.folioProv}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio}"}
|
||||
{elseif $ii == 2}
|
||||
{assign var="folio" value="{$info.folioProv2}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio2}"}
|
||||
{elseif $ii == 3}
|
||||
{assign var="folio" value="{$info.folioProv3}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio3}"}
|
||||
{elseif $ii == 4}
|
||||
{assign var="folio" value="{$info.folioProv4}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio4}"}
|
||||
{elseif $ii == 5}
|
||||
{assign var="folio" value="{$info.folioProv5}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio5}"}
|
||||
{/if}
|
||||
|
||||
{if $fecha == "0000-00-00"}
|
||||
{assign var="fecha" value=""}
|
||||
{else}
|
||||
{assign var="fecha" value="{$fecha|date_format:"%d-%m-%Y"}"}
|
||||
{/if}
|
||||
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="text" name="folioProv_{$ii}" id="folioProv_{$ii}" class="smallInput" value="{$folio}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="fechaFolioProv_{$ii}" id="fechaFolioProv_{$ii}" class="smallInput" maxlength="10" value="{$fecha}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaFolioProv_{$ii}','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/for}
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<hr />
|
||||
{/if}
|
||||
|
||||
<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>
|
||||
|
||||
{if $info.status == "Pendiente" && ($Usr.type == "direccion" || $Usr.type == "almacen")}
|
||||
|
||||
<div style="margin-left:335px">
|
||||
<a class="button" name="btnSave" onclick="AprobarPedido({$info.pedidoId},{$info.noPedido},'{$info.proveedor2}','{if $info.totalDesc}{$info.totalDesc}{else}{$info.total}{/if}','{$info.metodoCompra}')" style="margin-right:20px">
|
||||
<span>Aprobar Pedido</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a class="button" name="btnSave" onclick="RechazarPedidoPopup({$info.pedidoId})" style="margin-right:20px">
|
||||
<span>Rechazar Pedido</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $info.status == "Aprobado" && ($Usr.type == "compras" || $Usr.type == "almacen")}
|
||||
|
||||
<div style="margin-left:360px">
|
||||
<a class="button" name="btnSave" onclick="DistribucionPedido()">
|
||||
<span>Enviar a Autorizar Distribución</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $info.status == "Sugerencia" && $Usr.type == "compras"}
|
||||
|
||||
<div style="margin-left:360px">
|
||||
<a class="button" name="btnSave" onclick="DistribucionPedido2({$info.pedidoId})">
|
||||
<span>Enviar a Autorizar Distribución</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $info.status == "Distribucion" && ($Usr.type == "direccion" || $Usr.type == "almacen")}
|
||||
|
||||
<div style="margin-left:{if $info.resurtido}380px{else}415px{/if}; {if $info.sugerencias > 0}display:none{/if}" id="btnAutorizar">
|
||||
<a class="button" name="btnSave" onclick="AutorizarPedido({$info.pedidoId},{$info.noPedido},'{$info.proveedor2}','{$info.total}','{$info.metodoCompra}')">
|
||||
<span>Autorizar</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{if $info.resurtido}
|
||||
<div>
|
||||
<a class="button" name="btnSave" onclick="RechazarPedidoPopup({$info.pedidoId})" style="margin-right:20px">
|
||||
<span>Rechazar</span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="margin-left:345px; {if $info.sugerencias == 0}display:none{/if}" id="btnSug">
|
||||
<a class="button" name="btnSave" onclick="EnviarSugerencias({$info.pedidoId})">
|
||||
<span>Enviar Sugerencias de Distribución</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
{elseif $info.status == "Autorizado" && $info.piezasCaja == 0 && $Usr.type == "compras"}
|
||||
|
||||
<div style="margin-left:382px;">
|
||||
<a class="button" name="btnSave" onclick="SavePiezasCaja({$info.pedidoId})">
|
||||
<span>Guardar Piezas por Caja</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $info.status == "Autorizado" && ($Usr.type == "almacen" || $Usr.type == "compras")}
|
||||
|
||||
{if $info.distComp == 1}
|
||||
<div style="margin-left:342px;">
|
||||
<a class="button" name="btnSave" onclick="EnviarOrdenCompra({$info.pedidoId},1)">
|
||||
<span>Enviar Orden de Compra a Proveedor</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="margin-left:382px;">
|
||||
<a class="button" name="btnSave" onclick="EnviarOrdenCompra({$info.pedidoId},0)">
|
||||
<span>Marcar como Enviado</span>
|
||||
</a>
|
||||
</div>
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/boxes/msg-distribucion.tpl"}
|
||||
{/if}
|
||||
|
||||
{elseif $info.status == "OrdenCompEnv" && $Usr.type == "compras"}
|
||||
|
||||
{if $info.distComp == 1}
|
||||
<div style="margin-left:322px;">
|
||||
<a class="button" name="btnSave" onclick="CancelarOrdenCompraEnv({$info.pedidoId})">
|
||||
<span>Cancelar Orden de Compra Enviada a Proveedor</span>
|
||||
</a>
|
||||
</div>
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/boxes/msg-distribucion.tpl"}
|
||||
{/if}
|
||||
|
||||
{elseif ($info.status == "OrdenCompEnv" || $info.status == "OrdenCompIngP") && $Usr.type == "almacen"}
|
||||
|
||||
{if $fechaEntExp}
|
||||
<div align="center" class="txtFailMsg">
|
||||
La Fecha de Entrega ha expirado. Por lo que el pedido se cerrará y se marcará como
|
||||
Mercancí Recibida en CEDIS.
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $info.distComp == 1}
|
||||
<div style="margin-left:365px;">
|
||||
<a class="button" name="btnSave" onclick="IngresarOrdenCompra({$info.pedidoId},{$info.noPedido},'{$info.proveedor2}','{$info.totalPzas}','{$info.total}')">
|
||||
<span>Ingresar Orden de Compra</span>
|
||||
</a>
|
||||
</div>
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/boxes/msg-distribucion.tpl"}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
<div align="center"><a href="javascript:void(0)" onclick="history.back(-1)"> << Regresar </a></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
162
templates/forms/detalles-producto.tpl
Executable file
162
templates/forms/detalles-producto.tpl
Executable file
@@ -0,0 +1,162 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<td width="130" height="40">No. Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.noProv}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.proveedor}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Departamento:</td>
|
||||
<td><div class="txtFrm">{$info.departamento}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Línea:</td>
|
||||
<td><div class="txtFrm">{$info.linea}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Modelo:</td>
|
||||
<td><div class="txtFrm">{$info.modelo} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Código de Barra:</td>
|
||||
<td><div class="txtFrm">{$info.codigoBarra} </div></td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: ATRIBUTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="left">
|
||||
<div class="formLine">
|
||||
<div style="width:120px;float:left">Tallas:</div>
|
||||
<div style="width:320px;float:left; font-size:14px">
|
||||
</div>
|
||||
{foreach from=$tallas item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
- {$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:120px;float:left">Colores:</div>
|
||||
<div style="width:320px;float:left">
|
||||
</div>
|
||||
{foreach from=$colores item=item key=key}
|
||||
<div style="width:150px;float:left; font-size:14px">
|
||||
- {$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
{foreach from=$atributos item=item key=key}
|
||||
<div class="formLine">
|
||||
<div style="width:120px;float:left">{$item.nombre}:</div>
|
||||
<div style="width:320px;float:left; font-size:14px">
|
||||
</div>
|
||||
{foreach from=$item.valores item=itm key=key}
|
||||
<div style="width:150px;float:left">
|
||||
- {$itm.nombre}
|
||||
</div>
|
||||
{foreachelse}
|
||||
<div style="width:150px;float:left">
|
||||
- Ninguno seleccionado.
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPOSICION ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
{foreach from=$prodMats item=item key=key}
|
||||
<tr>
|
||||
<td width="130" align="left">Material</td>
|
||||
<td align="left" height="40"><div class="txtFrm">{$item.material}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">% Porcentaje</td>
|
||||
<td align="left"><div class="txtFrm">{$item.porcentaje}</div></td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td align="center"><br />Ningún material encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Caract. Especiales:</td>
|
||||
<td><div class="txtFrm">{$info.descripcion}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Temporada:</td>
|
||||
<td><div class="txtFrm">{$info.temporada}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Costo sin IVA:</td>
|
||||
<td><div class="txtFrm">{$info.costo}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. con IVA:</td>
|
||||
<td><div class="txtFrm">{$info.precioVentaIva}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Utilidad:</td>
|
||||
<td><div class="txtFrm">{$info.porcUtilidad}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. sin IVA:</td>
|
||||
<td><div class="txtFrm">{$info.precioVenta}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" height="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IMAGEN ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
{if $info.imagen != ""}
|
||||
<a href="{$WEB_ROOT}/images/productos/{$info.imagen}" rel="clearbox">
|
||||
<img src="{$WEB_ROOT}/images/productos/{$info.imagen}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" height="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: CODIGOS DE BARRA ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
{foreach from=$codigos item=item key=key}
|
||||
<tr>
|
||||
<td width="130" height="40" align="left">* Artículo</td>
|
||||
<td align="left"><div class="txtFrm">{$item.nombre}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">* Código</td>
|
||||
<td align="left"><div class="txtFrm">{$item.codigo}</div></td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
<div align="center"><a href="javascript:void(0)" onclick="history.back(-1)"><< Regresar</a></div>
|
||||
|
||||
206
templates/forms/detalles-promocion.tpl
Executable file
206
templates/forms/detalles-promocion.tpl
Executable file
@@ -0,0 +1,206 @@
|
||||
<div id="divForm">
|
||||
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l"><b>* Nombre:</b></div>
|
||||
<div class="r">
|
||||
<div class="txtFrm" style="width:680px">{$info.nombre}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<b>* Vigencia</b>
|
||||
<br />
|
||||
<div class="txtFrm" style="width:150px">
|
||||
{if $info.vigencia == "Periodo"}Por Periodo{else}Permanente{/if}
|
||||
</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaIni" {if $info.vigencia != "Periodo"}style="display:none"{/if}>
|
||||
<b>* Fecha Inicial:</b>
|
||||
<br />
|
||||
<div class="txtFrm" style="width:150px">{$info.fechaIni}</div>
|
||||
</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaFin" {if $info.vigencia != "Periodo"}style="display:none"{/if}>
|
||||
<b>* Fecha Final:</b>
|
||||
<br />
|
||||
<div class="txtFrm" style="width:150px">{$info.fechaFin}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="3">
|
||||
* Aplicar Promoción a TODOS los productos?
|
||||
<br />
|
||||
<div class="txtFrm" style="width:150px">
|
||||
{if $info.aplicaTodos == "1"}Sí{elseif $info.aplicaTodos == "0"}No{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="a">
|
||||
<div class="l"><b>* Sucursal:</b></div>
|
||||
<div class="r listChksV">
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
- {$item.nombre} <br />
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="listProducts" {if $info.aplicaTodos == "1"}style="display:none"{/if}>
|
||||
|
||||
<div class="a">
|
||||
<div class="l"><b>* Departamento:</b></div>
|
||||
<div class="r listChksV">
|
||||
{foreach from=$categorias item=item key=key}
|
||||
- {$item.nombre} <br />
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l"><b>* Línea:</b></div>
|
||||
<div class="r listChksV">
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
- {$item.nombre} <br />
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l"><b>* Proveedor:</b></div>
|
||||
<div class="r listChksV">
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
- {$item.nombre} <br />
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l"><b>* Producto:</b></div>
|
||||
<div class="r listChksV">
|
||||
{foreach from=$productos item=item key=key}
|
||||
- {$item.descripcion} <br />
|
||||
{/foreach}
|
||||
</div>
|
||||
{$productos|count}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left"><b>* Tipo de Promoción:</b></td>
|
||||
<td align="left" colspan="2"><b>* Aplica en:</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" width="230">
|
||||
<div class="txtFrm" style="width:150px">
|
||||
{if $info.tipo == "AxB"} A x B
|
||||
{elseif $info.tipo == "TotalVentaB"} Total Venta x B
|
||||
{elseif $info.tipo == "CompraX"} Compra $x
|
||||
{elseif $info.tipo == "BuenFin"} Buen Fin
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
<td align="left" colspan="2">
|
||||
<div class="txtFrm" style="width:440px">
|
||||
{if $info.aplica == "XxY"} Compra X Prods. al Precio de Y por Producto
|
||||
{elseif $info.aplica == "N1Desc"} Compra N Prods. y N+1 aplica un Descuento
|
||||
{elseif $info.aplica == "CompraX"} Compra $x y Regala B
|
||||
{elseif $info.aplica == "CompraXabonoM"} Compra $x y Abona % a Monedero
|
||||
{elseif $info.aplica == "DescCuenta"} Descuento por toda la Cuenta
|
||||
{elseif $info.aplica == "ArtConDesc"} Artículos después de $x con Descuento
|
||||
{elseif $info.aplica == "3x2"} 3 x 2
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowXY" {if $info.aplica != "XxY"}style="display:none"{/if}>
|
||||
<td align="left"></td>
|
||||
<td align="left">
|
||||
<b>* Valor de X:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.valorX}</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<b>* Valor Y:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.valorY}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTipoDesc" {if $info.aplica != "N1Desc" && $info.aplica != "DescCuenta" && $info.aplica != "ArtConDesc"}style="display:none"{/if}>
|
||||
<td align="left">
|
||||
<b>* Tipo de Descuento:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">
|
||||
{if $info.tipoDesc == "Cantidad"}Cantidad Fija{else}Porcentaje{/if}
|
||||
</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<b>* Valor del Descuento:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.valorDesc}</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtTotalCompra" {if $info.aplica != "DescCuenta" && $info.aplica != "ArtConDesc"}style="display:none"{/if}>
|
||||
<b>* Total de la Compra:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.totalCompra}</div>
|
||||
</div>
|
||||
<div id="txtValorN" {if $info.aplica != "N1Desc"}style="display:none"{/if}>
|
||||
<b>* Valor N:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.valorN}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaB" {if $info.aplica != "CompraX"}style="display:none"{/if}>
|
||||
<td align="left">
|
||||
<b>* Total de la Compra:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.totalCompra}</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<b>* Cant. de Art. a Regalar:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.cantArtRegalo}</div>
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr id="rowProdVentaB" {if $info.aplica != "CompraX"}style="display:none"{/if}>
|
||||
<td align="left" colspan="3">
|
||||
<b>* Producto a Regalar:</b> <br />
|
||||
<div class="txtFrm" style="width:380px">{$info.producto}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaM" {if $info.aplica != "CompraXabonoM"}style="display:none"{/if}>
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.totalCompra}</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
* Porcentaje Abonar: <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.valorDesc}</div>
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<b>* Status:</b> <br />
|
||||
<div class="txtFrm" style="width:150px">{$info.status}</div>
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnClose"><span>Cerrar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
219
templates/forms/detalles-proveedor.tpl
Executable file
219
templates/forms/detalles-proveedor.tpl
Executable file
@@ -0,0 +1,219 @@
|
||||
<div id="divForm">
|
||||
<form id="editarProveedorForm" name="editarProveedorForm" method="post">
|
||||
<input type="hidden" id="proveedorId" name="proveedorId" value="{$post.proveedorId}"/>
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No. Proveedor:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.noProv}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* RFC y Homoclave:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.rfc}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.nombre}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Dirección Fiscal ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Dirección:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.calle}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">No Exterior:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.noExt}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No Interior:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.noInt}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Referencia:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.referencia}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Colonia:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.colonia}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Localidad:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.localidad}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Municipio o Delegación:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.municipio}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Estado:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.estado}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Pais:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.pais}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Código Postal:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.codigoPostal}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Ventas ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.nombreVtas}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.telefonoVtas}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.celularVtas}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.emailVtas}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Pagos ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.nombrePagos}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.telefonoPagos}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.celularPagos}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.emailPagos}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Entregas ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.nombreEnt}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.telefonoEnt}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.celularEnt}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.emailEnt}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Datos Bancarios ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Banco:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.banco}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No. de Cuenta:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.noCuenta}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">CLABE:</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.clabe}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Dirección de Almacén</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.almacen}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Plazo</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.plazo}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Publicidad</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.publicidad}%</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Flete</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.flete}%</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Desarrollo</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.desarrollo}%</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Especial</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.especial}%</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Compra en Firme</div>
|
||||
<div class="r"><div class="txtFrm2 wide2">{$post.compraFirme}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:290px">
|
||||
<a class="button" id="btnClose" name="btnClose"><span>Cerrar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditProveedor"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
78
templates/forms/detalles-rfc.tpl
Executable file
78
templates/forms/detalles-rfc.tpl
Executable file
@@ -0,0 +1,78 @@
|
||||
<div id="divForm">
|
||||
|
||||
<fieldset>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:60%;float:left">* RFC y Homoclave:</div> <br />
|
||||
<div class="txtFrmD">{$post.rfc} </div>
|
||||
|
||||
<div style="width:30%;float:left">* Nombre Completo o Razón Social:</div> <br />
|
||||
<div class="txtFrmD">{$post.razonSocial} </div>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div align="center"><b>.:: Porcentajes ::.</b></div>
|
||||
<br />
|
||||
<div style="width:30%;float:left">Bonificación:</div> <br />
|
||||
<div class="txtFrmD">{$post.porcentajeBonificacion} </div>
|
||||
|
||||
<div style="width:30%;float:left">Devolución:</div> <br />
|
||||
<div class="txtFrmD">{$post.porcentajeDevolucion} </div><br />
|
||||
|
||||
<div align="center"><b>.:: Devolución ::.</b></div>
|
||||
<br />
|
||||
<div style="width:30%;float:left">Días para realizar Devolución:</div> <br />
|
||||
<div class="txtFrmD">{$post.diasDevolucion} </div><br />
|
||||
|
||||
<div align="center"><b>.:: Dirección ::.</b></div>
|
||||
<br />
|
||||
<div style="width:30%;float:left">Calle:</div> <br />
|
||||
<div class="txtFrmD">{$post.calle} </div>
|
||||
|
||||
<div style="width:30%;float:left">No. Exterior:</div> <br />
|
||||
<div class="txtFrmD">{$post.noExt} </div>
|
||||
|
||||
<div style="width:30%;float:left">No. Interior:</div> <br />
|
||||
<div class="txtFrmD">{$post.noInt} </div>
|
||||
|
||||
<div style="width:30%;float:left">Referencia:</div> <br />
|
||||
<div class="txtFrmD">{$post.referencia} </div>
|
||||
|
||||
<div style="width:30%;float:left">Colonia:</div> <br />
|
||||
<div class="txtFrmD">{$post.colonia} </div>
|
||||
|
||||
<div style="width:30%;float:left">Localidad:</div> <br />
|
||||
<div class="txtFrmD">{$post.localidad} </div>
|
||||
|
||||
<div style="width:30%;float:left">Municipio o Delegación:</div> <br />
|
||||
<div class="txtFrmD">{$post.municipio} </div>
|
||||
|
||||
<div style="width:30%;float:left">Ciudad:</div> <br />
|
||||
<div class="txtFrmD">{$post.ciudad} </div>
|
||||
|
||||
<div style="width:30%;float:left">Código Postal:</div> <br />
|
||||
<div class="txtFrmD">{$post.cp} </div>
|
||||
|
||||
<div style="width:30%;float:left">Estado:</div> <br />
|
||||
<div class="txtFrmD">{$post.estado} </div>
|
||||
|
||||
<div style="width:30%;float:left">Pais:</div> <br />
|
||||
<div class="txtFrmD">{$post.pais} </div>
|
||||
|
||||
<div style="width:60%;float:left">* Régimen Fiscal:</div> <br />
|
||||
<div class="txtFrmD">{$post.regimenFiscal} </div>
|
||||
|
||||
<hr />
|
||||
<div style="clear:both"></div>
|
||||
* Campos requeridos
|
||||
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div class="formLine" style="text-align:center; padding-left:290px">
|
||||
<a class="button" id="btnClose" name="btnClose"><span>Cerrar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
75
templates/forms/detalles-sucursal.tpl
Executable file
75
templates/forms/detalles-sucursal.tpl
Executable file
@@ -0,0 +1,75 @@
|
||||
<div id="divForm">
|
||||
|
||||
<fieldset>
|
||||
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:50%;float:left">* Nombre:</div> <br />
|
||||
<div class="txtFrmD">{$post.nombre} </div>
|
||||
|
||||
<div style="width:30%;float:left">Número de Sucursal:</div> <br />
|
||||
<div class="txtFrmD">{$post.noSuc} </div>
|
||||
<br />
|
||||
<div align="center"><b>.:: Dirección ::.</b></div>
|
||||
|
||||
<div style="width:30%;float:left">Calle:</div> <br />
|
||||
<div class="txtFrmD">{$post.calle} </div>
|
||||
|
||||
<div style="width:30%;float:left">No. Exterior:</div> <br />
|
||||
<div class="txtFrmD">{$post.noExt} </div>
|
||||
|
||||
<div style="width:30%;float:left">No. Interior:</div> <br />
|
||||
<div class="txtFrmD">{$post.noInt} </div>
|
||||
|
||||
<div style="width:30%;float:left">Referencia:</div> <br />
|
||||
<div class="txtFrmD">{$post.referencia} </div>
|
||||
|
||||
<div style="width:30%;float:left">Colonia:</div> <br />
|
||||
<div class="txtFrmD">{$post.colonia} </div>
|
||||
|
||||
<div style="width:30%;float:left">Localidad:</div> <br />
|
||||
<div class="txtFrmD">{$post.localidad} </div>
|
||||
|
||||
<div style="width:30%;float:left">Municipio o Delegación:</div> <br />
|
||||
<div class="txtFrmD">{$post.municipio} </div>
|
||||
|
||||
<div style="width:30%;float:left">Ciudad:</div> <br />
|
||||
<div class="txtFrmD">{$post.ciudad} </div>
|
||||
|
||||
<div style="width:30%;float:left">Código Postal:</div> <br />
|
||||
<div class="txtFrmD">{$post.cp} </div>
|
||||
|
||||
<div style="width:30%;float:left">Estado:</div> <br />
|
||||
<div class="txtFrmD">{$post.estado} </div>
|
||||
|
||||
<div style="width:30%;float:left">Pais:</div> <br />
|
||||
<div class="txtFrmD">{$post.pais} </div>
|
||||
|
||||
<div style="width:30%;float:left">Teléfono:</div> <br />
|
||||
<div class="txtFrmD">{$post.telefono} </div>
|
||||
|
||||
<div style="width:30%;float:left">Google Map:</div> <br />
|
||||
<div class="txtFrmD">{$post.mapa} </div>
|
||||
|
||||
<div style="width:30%;float:left">Nombre del Arrendatario:</div> <br />
|
||||
<div class="txtFrmD">{$post.arrendatario} </div>
|
||||
|
||||
<div style="width:30%;float:left">Monto de la Renta:</div> <br />
|
||||
<div class="txtFrmD">{$post.montoRenta} </div>
|
||||
|
||||
<div style="width:30%;float:left">Fecha de Vencimiento:</div> <br />
|
||||
<div class="txtFrmD">{$post.fechaVenc} </div>
|
||||
|
||||
<div style="width:30%;float:left">* % IVA:</div> <br />
|
||||
<div class="txtFrmD">{$post.iva} </div>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnClose" name="btnClose"><span>Cerrar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
145
templates/forms/detalles-usuario.tpl
Executable file
145
templates/forms/detalles-usuario.tpl
Executable file
@@ -0,0 +1,145 @@
|
||||
<div id="divForm">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">Tipo:</td>
|
||||
<td><div class="txtFrm">{$info.type}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">{if $info.type != "Supervisor"}Sucursal:{/if}</td>
|
||||
<td>{if $info.type != "Supervisor"}<div class="txtFrm">{$info.sucursal} </div>{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Nombre:</td>
|
||||
<td><div class="txtFrm">{$info.nombre}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Apellidos:</td>
|
||||
<td><div class="txtFrm">{$info.apellidos} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Dirección:</td>
|
||||
<td><div class="txtFrm">{$info.calle} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>No Exterior:</td>
|
||||
<td><div class="txtFrm">{$info.noExt} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No Interior:</td>
|
||||
<td><div class="txtFrm">{$info.noInt} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Referencia:</td>
|
||||
<td><div class="txtFrm">{$info.referencia} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Colonia:</td>
|
||||
<td><div class="txtFrm">{$info.colonia} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Localidad:</td>
|
||||
<td><div class="txtFrm">{$info.localidad} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Municipio o Delegación:</td>
|
||||
<td><div class="txtFrm">{$info.municipio} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Estado:</td>
|
||||
<td><div class="txtFrm">{$info.estado} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Pais:</td>
|
||||
<td><div class="txtFrm">{$info.pais} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Código Postal:</td>
|
||||
<td><div class="txtFrm">{$info.codigoPostal} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Teléfono:</td>
|
||||
<td><div class="txtFrm">{$info.telefono} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Celular:</td>
|
||||
<td><div class="txtFrm">{$info.celular} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No. IMSS:</td>
|
||||
<td><div class="txtFrm">{$info.noImss} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>CURP:</td>
|
||||
<td><div class="txtFrm">{$info.curp} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">RFC:</td>
|
||||
<td><div class="txtFrm">{$info.rfc} </div></td>
|
||||
<td width="10"></td>
|
||||
<td>Email:</td>
|
||||
<td><div class="txtFrm">{$info.email} </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Contraseña:</td>
|
||||
<td><div class="txtFrm">{$info.password} </div></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">
|
||||
{if $info.identificacion != ""}
|
||||
<a href="{$WEB_ROOT}/images/identificacion/{$info.identificacion}" rel="clearbox">
|
||||
<img src="{$WEB_ROOT}/images/identificacion/{$info.identificacion}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
{else}
|
||||
Ninguna imagen encontrada.
|
||||
{/if}
|
||||
</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">
|
||||
{if $info.comprobante != ""}
|
||||
<a href="{$WEB_ROOT}/images/comprobante/{$info.comprobante}" rel="clearbox">
|
||||
<img src="{$WEB_ROOT}/images/comprobante/{$info.comprobante}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
{else}
|
||||
Ninguna imagen encontrada.
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center" id="sucSup" {if $info.type != "Supervisor"}style="display:none"{/if}>
|
||||
<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}
|
||||
{if $item.checked}
|
||||
<tr>
|
||||
<td align="center" width="30">- </td>
|
||||
<td align="left">{$item.nombre}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
<div style="margin-left:410px"><a href="{$WEB_ROOT}/usuarios"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
21
templates/forms/editar-atributo-valor.tpl
Executable file
21
templates/forms/editar-atributo-valor.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarValor" id="frmEditarValor" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditValor" />
|
||||
<input type="hidden" name="atribValId" value="{$info.atribValId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
21
templates/forms/editar-atributo.tpl
Executable file
21
templates/forms/editar-atributo.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarAtributo" id="frmEditarAtributo" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditAtributo" />
|
||||
<input type="hidden" name="atributoId" value="{$info.atributoId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
106
templates/forms/editar-cliente.tpl
Executable file
106
templates/forms/editar-cliente.tpl
Executable file
@@ -0,0 +1,106 @@
|
||||
<div id="divForm">
|
||||
<form id="editarClienteForm" name="editarClienteForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* RFC y Homoclave:</div>
|
||||
<div class="r"><input type="text" name="rfc" id="rfc" class="largeInput wide2" value="{$post.rfc}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r"><input type="text" name="razonSocial" id="razonSocial" class="largeInput wide2" value="{$post.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Dirección:</div>
|
||||
<div class="r"><input type="text" name="calle" id="calle" class="largeInput wide2" value="{$post.calle}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No Exterior:</div>
|
||||
<div class="r"><input type="text" name="noExt" id="noExt" class="largeInput wide2" value="{$post.noExt}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">No Interior:</div>
|
||||
<div class="r"><input type="text" name="noInt" id="noInt" class="largeInput wide2" value="{$post.noInt}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Referencia:</div>
|
||||
<div class="r"><input type="text" name="referencia" id="referencia" class="largeInput wide2" value="{$post.referencia}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Colonia:</div>
|
||||
<div class="r"><input type="text" name="colonia" id="colonia" class="largeInput wide2" value="{$post.colonia}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Localidad:</div>
|
||||
<div class="r"><input type="text" name="localidad" id="localidad" class="largeInput wide2" value="{$post.localidad}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Municipio o Delegación:</div>
|
||||
<div class="r"><input type="text" name="municipio" id="municipio" class="largeInput wide2" value="{$post.municipio}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Código Postal:</div>
|
||||
<div class="r"><input type="text" name="cp" id="cp" class="largeInput wide2" value="{$post.cp}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Estado:</div>
|
||||
<div class="r"><input type="text" name="estado" id="estado" class="largeInput wide2" value="{$post.estado}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Pais:</div>
|
||||
<div class="r"><input type="text" name="pais" id="pais" class="largeInput wide2" value="{$post.pais}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Teléfono:</div>
|
||||
<div class="r"><input type="text" name="telefono" id="telefono" class="largeInput wide2" value="{$post.telefono}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Correo Electrónico:</div>
|
||||
<div class="r"><input type="text" name="email" id="email" class="largeInput wide2" value="{$post.email}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Password (Dejar vacio para no cambiar):</div>
|
||||
<div class="r"><input type="password" name="password" id="password" class="largeInput wide2" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="editarCliente" name="editarCliente"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditCliente"/>
|
||||
<input type="hidden" id="clienteId" name="clienteId" value="{$post.clienteId}"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
21
templates/forms/editar-color.tpl
Executable file
21
templates/forms/editar-color.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form id="editarColorForm" name="editarColorForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2" value="{$info.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="editarColor" name="editarColor"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditColor"/>
|
||||
<input type="hidden" id="colorId" name="colorId" value="{$info.colorId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
46
templates/forms/editar-comision.tpl
Executable file
46
templates/forms/editar-comision.tpl
Executable file
@@ -0,0 +1,46 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarComision" id="frmEditarComision" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditComision" />
|
||||
<input type="hidden" name="comisionId" value="{$info.comisionId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Tipo:</div>
|
||||
<div class="r">
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="gerente" {if $info.tipoUsuario eq "gerente"} selected="selected" {/if}>Gerente</option>
|
||||
<option value="subgerente" {if $info.tipoUsuario eq "subgerente"} selected="selected" {/if}>Subgerente</option>
|
||||
<option value="vendedor" {if $info.tipoUsuario eq "vendedor"} selected="selected" {/if}>Vendedor</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* % de Comision con Rango Bajo:</div>
|
||||
<div class="r">
|
||||
<input value="{$info.comisionBajo}" type="text" name="comisionBajo" id="comisionBajo" class="largeInput" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* % de Comision con Rango Alto:</div>
|
||||
<div class="r">
|
||||
<input type="text" value="{$info.comisionAlto}" name="comisionAlto" id="comisionAlto" class="largeInput" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Rango:</div>
|
||||
<div class="r">
|
||||
<input type="text" value="{$info.rango}" name="rango" id="rango" class="largeInput" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
38
templates/forms/editar-conjunto.tpl
Executable file
38
templates/forms/editar-conjunto.tpl
Executable file
@@ -0,0 +1,38 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarConjunto" id="frmEditarConjunto" method="post" action="">
|
||||
<input type="hidden" id="type" name="type" value="saveEditConjunto" />
|
||||
<input type="hidden" id="conTallaId" name="conTallaId" value="{$info.conTallaId}" />
|
||||
<input type="hidden" id="formName" name="formName" value="frmEditarConjunto" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div id="tallas">
|
||||
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" onclick="AddTalla()">
|
||||
<img src="{$WEB_ROOT}/images/icons/add.png" border="0" />
|
||||
Agregar Nueva Talla</a>
|
||||
</div>
|
||||
|
||||
<div align="center" id="listTallas">
|
||||
{include file="{$DOC_ROOT}/templates/lists/conjunto-valores.tpl"}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
45
templates/forms/editar-cuenta-bancaria.tpl
Executable file
45
templates/forms/editar-cuenta-bancaria.tpl
Executable file
@@ -0,0 +1,45 @@
|
||||
<div id="divForm">
|
||||
<form id="editarCuentaBancariaForm" name="editarCuentaBancariaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre del Banco:</div>
|
||||
<div class="r"><input type="text" name="banco" id="banco" class="largeInput wide2" value="{$info.banco}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* No. de Cuenta:</div>
|
||||
<div class="r"><input type="text" name="noCuenta" id="noCuenta" class="largeInput wide2" value="{$info.noCuenta}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Sucursal:</div>
|
||||
<div class="r"><input type="text" name="sucursal" id="sucursal" class="largeInput wide2" value="{$info.sucursal}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Titular:</div>
|
||||
<div class="r"><input type="text" name="titular" id="titular" class="largeInput wide2" value="{$info.titular}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">CLABE:</div>
|
||||
<div class="r"><input type="text" name="clabe" id="clabe" class="largeInput wide2" value="{$info.clabe}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="editarCuentaBancaria" name="editarCuentaBancaria"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditCuentaBancaria"/>
|
||||
<input type="hidden" id="cuentaBancariaId" name="cuentaBancariaId" value="{$info.cuentaBancariaId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
67
templates/forms/editar-facturacion-folios.tpl
Executable file
67
templates/forms/editar-facturacion-folios.tpl
Executable file
@@ -0,0 +1,67 @@
|
||||
<div id="divForm">
|
||||
<div class="m">
|
||||
<form name="frmEditarFolios" id="frmEditarFolios" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveEditFolios" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">Serie</div>
|
||||
<div class="r"><input type="text" name="serie" id="serie" value="{$info.serie}" class="largeInput wide2"></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Folio Inicial</div>
|
||||
<div class="r"><input type="text" name="folio_inicial" id="folio_inicial" value="{$info.folioInicial}" class="largeInput wide2" /></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Folio Final</div>
|
||||
<div class="r"><input type="text" name="folio_final" id="folio_final" value="{$info.folioFinal}" class="largeInput wide2" /></div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Comprobante</div>
|
||||
<div class="r">
|
||||
<select name="comprobante" id="comprobante" class="largeInput wide2">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$comprobantes item=com key=key}
|
||||
<option value="{$com.tiposComprobanteId}" {if $info.tiposComprobanteId == $com.tiposComprobanteId} selected="selected" {/if}>{$com.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Lugar de expedición</div>
|
||||
<div class="r">
|
||||
<select name="lugar_expedicion" id="lugar_expedicion" class="largeInput wide2">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=suc key=key}
|
||||
<option value="{$suc.sucursalId}" {if $info.lugarDeExpedicion == $suc.sucursalId} selected="selected" {/if}>{$suc.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Número de certificado</div>
|
||||
<div class="r">
|
||||
<select name="no_certificado" id="no_certificado" class="largeInput wide2">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="{$nom_certificado}" {if $info.noCertificado == $nom_certificado} selected {/if}>{$nom_certificado}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* Email de aviso</div>
|
||||
<div class="r"><input type="text" name="email" id="email" value="{$info.email}" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnEditarFolios"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<input type="hidden" name="id_serie" value="{$info.serieId}" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
21
templates/forms/editar-material.tpl
Executable file
21
templates/forms/editar-material.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form id="editarMaterialForm" name="editarMaterialForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2" value="{$info.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="editarMaterial" name="editarMaterial"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditMaterial"/>
|
||||
<input type="hidden" id="materialId" name="materialId" value="{$info.materialId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
21
templates/forms/editar-metodo-pago.tpl
Executable file
21
templates/forms/editar-metodo-pago.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form id="editarMetodoPagoForm" name="editarMetodoPagoForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2" value="{$info.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="editarMetodoPago" name="editarMetodoPago"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditMetodoPago"/>
|
||||
<input type="hidden" id="metodoPagoId" name="metodoPagoId" value="{$info.metodoPagoId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
28
templates/forms/editar-monedero.tpl
Executable file
28
templates/forms/editar-monedero.tpl
Executable file
@@ -0,0 +1,28 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarMonedero" id="frmEditarMonedero" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditMonedero" />
|
||||
<input type="hidden" name="monederoId" value="{$info.monederoId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Código:</div>
|
||||
<div class="txtFrmD">{$info.codigo} </div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Status:</div>
|
||||
<div class="r" id="enumStatus">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumStatusMon.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
21
templates/forms/editar-motivo.tpl
Executable file
21
templates/forms/editar-motivo.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarMotivo" id="frmEditarMotivo" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditMotivo" />
|
||||
<input type="hidden" name="motivoId" value="{$info.motivoId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
238
templates/forms/editar-pedido.tpl
Executable file
238
templates/forms/editar-pedido.tpl
Executable file
@@ -0,0 +1,238 @@
|
||||
<div id="divForm">
|
||||
<form id="frmEditarPedido" name="frmEditarPedido" method="post">
|
||||
<input type="hidden" id="type" name="type" value="saveEditPedido" />
|
||||
<input type="hidden" id="pedidoId" name="pedidoId" value="{$info.pedidoId}" />
|
||||
<input type="hidden" id="proveedorId" name="proveedorId" value="{$info.proveedorId}" />
|
||||
<input type="hidden" id="key" name="key" value="" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">No. Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.noProv}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Proveedor:</td>
|
||||
<td><div class="txtFrm">{$info.proveedor}</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">No. de Pedido</td>
|
||||
<td><div class="txtFrm">{$info.noPedido}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha del Pedido:</td>
|
||||
<td>
|
||||
<div class="txtFrm">{$info.fecha}</div>
|
||||
<input type="hidden" name="fechaPedido" id="fechaPedido" value="{$info.fechaPedido}" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Fecha de Entrega</td>
|
||||
<td><div style="height:10px"></div>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="135">Del
|
||||
<input name="fechaEntrega" id="fechaEntrega" type="text" class="largeInput" style="width:100px" value="{$info.fechaEntrega}" readonly="readonly" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaEntrega','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" />
|
||||
</a>
|
||||
</td>
|
||||
<td width="138"> Al
|
||||
<input name="fechaEntregaF" id="fechaEntregaF" type="text" class="largeInput" style="width:100px" value="{$info.fechaEntregaF}" readonly="readonly" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaEntregaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Método de Compra:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumMetodoCompra.tpl"}</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Status</td>
|
||||
<td><div class="txtFrm">
|
||||
{if $info.status == "Pendiente"}
|
||||
Pendiente de Aprobación
|
||||
{elseif $info.status == "Aprobado"}
|
||||
En espera de Distribución
|
||||
{elseif $info.status == "Rechazado" && $info.resurtido == "1"}
|
||||
Resurtido No Autorizado
|
||||
{elseif $info.status == "Rechazado"}
|
||||
Rechazado
|
||||
{elseif $info.status == "Distribucion" && $info.resurtido == "1"}
|
||||
Resurtido Pendiente de Autorización
|
||||
{elseif $info.status == "Distribucion"}
|
||||
Pendiente Autorización Distribución
|
||||
{elseif $info.status == "Autorizado"}
|
||||
Orden de Compra Pte. de Envío a Prov.
|
||||
{elseif $info.status == "Sugerencia"}
|
||||
Con Obs. de Distribución
|
||||
{elseif $info.status == "OrdenCompEnv"}
|
||||
Orden Pendiente de Ingreso a CEDIS
|
||||
{elseif $info.status == "OrdenCompEnvCan"}
|
||||
Orden de Compra Enviada Cancelada
|
||||
{elseif $info.status == "OrdenCompIng"}
|
||||
Pte. Envío a Tiendas
|
||||
{elseif $info.status == "EnvSuc"}
|
||||
Envíado a Tiendas
|
||||
{/if}
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Publicidad:</td>
|
||||
<td><input name="porcPub" id="porcPub" type="text" class="largeInput" style="width:290px" value="{$info.porcPub}" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">% Flete:</td>
|
||||
<td><input name="porcFlete" id="porcFlete" type="text" class="largeInput" style="width:290px" value="{$info.porcFlete}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Desarrollo:</td>
|
||||
<td><input name="porcDes" id="porcDes" type="text" class="largeInput" style="width:290px" value="{$info.porcDes}" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">% Especial:</td>
|
||||
<td><input name="porcEsp" id="porcEsp" type="text" class="largeInput" style="width:290px" value="{$info.porcEsp}" /></td>
|
||||
</tr>
|
||||
{if $info.status != "OrdenCompIng" && $info.status != "EnvSuc"}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Código Barra:</td>
|
||||
<td>
|
||||
<input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<input type="hidden" name="productoId" id="productoId" value="" />
|
||||
<input type="hidden" name="prodCatId" id="prodCatId" value="" />
|
||||
<input type="hidden" name="prodSubcatId" id="prodSubcatId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Descripción</td>
|
||||
<td><div id="enumAtributos"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<a href="javascript:void(0)" onclick="AddTalla()"><img src="{$WEB_ROOT}/images/icons/add.png">Agregar Talla</a>
|
||||
|
||||
<a href="javascript:void(0)" onclick="AddColor()"><img src="{$WEB_ROOT}/images/icons/add.png">Agregar Color</a>
|
||||
<div id="tblProporcion" align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-proporciones.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddProducto()">
|
||||
+ Agregar Producto
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/pedidos-productos-edit.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr>
|
||||
<td align="center" colspan="5">
|
||||
<br />
|
||||
<div align="center">
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center"><b>Folio del Proveedor</b></td>
|
||||
<td align="center"><b>Fecha</b></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
{for $ii = 1 to 5}
|
||||
{if $ii == 1}
|
||||
{assign var="folio" value="{$info.folioProv}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio}"}
|
||||
{elseif $ii == 2}
|
||||
{assign var="folio" value="{$info.folioProv2}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio2}"}
|
||||
{elseif $ii == 3}
|
||||
{assign var="folio" value="{$info.folioProv3}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio3}"}
|
||||
{elseif $ii == 4}
|
||||
{assign var="folio" value="{$info.folioProv4}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio4}"}
|
||||
{elseif $ii == 5}
|
||||
{assign var="folio" value="{$info.folioProv5}"}
|
||||
{assign var="fecha" value="{$info.fechaFolio5}"}
|
||||
{/if}
|
||||
|
||||
{if $fecha == "0000-00-00"}
|
||||
{assign var="fecha" value=""}
|
||||
{/if}
|
||||
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="text" name="folioProv_{$ii}" id="folioProv_{$ii}" class="smallInput" value="{$folio}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="fechaFolioProv_{$ii}" id="fechaFolioProv_{$ii}" class="smallInput" maxlength="10" value="{$fecha|date_format:'%d-%m-%Y'}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaFolioProv_{$ii}','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/for}
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<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:320px">
|
||||
<a class="button" name="btnSave" onclick="{if $info.status != "OrdenCompIng" && $info.status != "EnvSuc"}EditPedido(){else}EditPedido2(){/if}" style="margin-right:20px">
|
||||
<span>Actualizar Pedido</span>
|
||||
</a>
|
||||
<a class="button" href="{$WEB_ROOT}/pedidos">
|
||||
<span>Cancelar Edición</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
21
templates/forms/editar-producto-categoria.tpl
Executable file
21
templates/forms/editar-producto-categoria.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarCategoria" id="frmEditarCategoria" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditCategory" />
|
||||
<input type="hidden" name="prodCatId" value="{$info.prodCatId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
34
templates/forms/editar-producto-subcategoria.tpl
Executable file
34
templates/forms/editar-producto-subcategoria.tpl
Executable file
@@ -0,0 +1,34 @@
|
||||
<div id="divForm">
|
||||
<form name="frmEditarSubcategoria" id="frmEditarSubcategoria" method="post" action="">
|
||||
<input type="hidden" name="type" value="saveEditSubcategory" />
|
||||
<input type="hidden" name="prodSubcatId" value="{$info.prodSubcatId}" />
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Atributos:</div>
|
||||
<div class="r">
|
||||
{foreach from=$atributos item=item key=key}
|
||||
<input type="checkbox" name="atributos[]" id="atributo_{$item.atributoId}" value="{$item.atributoId}" {if $item.checked}checked{/if} />
|
||||
{$item.nombre}
|
||||
<br />
|
||||
{foreachelse}
|
||||
<div align="center">Ningún registro encontrado.</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
174
templates/forms/editar-producto.tpl
Executable file
174
templates/forms/editar-producto.tpl
Executable file
@@ -0,0 +1,174 @@
|
||||
<div id="divForm">
|
||||
<form id="frmEditarProducto" name="frmEditarProducto" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="type" name="type" value="saveEditProducto" />
|
||||
<input type="hidden" id="productoId" name="productoId" value="{$info.productoId}" />
|
||||
<input type="hidden" id="k" name="k" value="" />
|
||||
<input type="hidden" id="tmpImg" name="tmpImg" value="" />
|
||||
<input type="hidden" name="conTallaId" id="conTallaId" value="1" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* Proveedor:</td>
|
||||
<td>
|
||||
<input name="proveedor" id="proveedor" type="text" class="largeInput" style="width:290px" onkeyup="SuggestProveedor()" value="{$info.proveedor}"/>
|
||||
<input type="hidden" name="proveedorId" id="proveedorId" value="{$info.proveedorId}" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProvDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Departamento:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumProdCat.tpl"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Línea:</td>
|
||||
<td><div id="enumSubcats">{include file="{$DOC_ROOT}/templates/lists/enumProdSubcat.tpl"}</div></td>
|
||||
<td width="10"></td>
|
||||
<td>* Modelo:</td>
|
||||
<td><input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px" value="{$info.modelo}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>* Código de Barra</td>
|
||||
<td><input name="codigoBarra" id="codigoBarra" type="text" class="largeInput" style="width:290px" onblur="LoadBarCodes()" value="{$info.codigoBarra}"/></td>
|
||||
<td width="10"></td>
|
||||
<td height="40">{* * Conjunto de Tallas: *}</td>
|
||||
<td>{* include file="{$DOC_ROOT}/templates/lists/enumConTallas.tpl" *}</td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: ATRIBUTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="left">
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">* Tallas:</div>
|
||||
<div id="listTallas">
|
||||
{foreach from=$tallas item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="tallas[]" id="talla_{$item.tallaId}" onclick="LoadBarCodes()" value="{$item.tallaId}" {if $item.checked}checked{/if} />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">* Colores:</div>
|
||||
{foreach from=$colores item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="colores[]" id="color_{$item.atribValId}" value="{$item.atribValId}" onclick="LoadBarCodes()" {if $item.exist == "1"}checked{/if} />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div id="enumAtributos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumAtributos.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPOSICION ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div class="formLine" id="materiales">
|
||||
{include file="{$DOC_ROOT}/templates/lists/productos-materiales.tpl"}
|
||||
</div>
|
||||
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddMaterial()">
|
||||
+ Agregar Material
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="20"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Caract. Especiales:</td>
|
||||
<td><input name="descripcion" id="descripcion" type="text" class="largeInput" style="width:290px" value="{$info.descripcion}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>* Temporada:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumTemporadas.tpl"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Costo sin IVA:</td>
|
||||
<td><input name="costo" id="costo" type="text" class="largeInput" style="width:290px" value="{$info.costo}" onblur="CalcUtilidad()"/></td>
|
||||
<td width="10"></td>
|
||||
<td>* Precio Vta. con IVA:</td>
|
||||
<td><input name="precioVentaIva" id="precioVentaIva" type="text" class="largeInput" style="width:290px" value="{$info.precioVentaIva}" onblur="CalcPrecioSinIva()"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Utilidad:</td>
|
||||
<td><div id="porcUtilidad" class="txtFrm">{$info.porcUtilidad}</div>
|
||||
<input type="hidden" name="utilidad" id="utilidad" value="{$info.utilidad}" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. sin IVA:</td>
|
||||
<td>
|
||||
<div id="txtPrecioVenta" class="txtFrm">{$info.precioVenta}</div>
|
||||
<input type="hidden" id="precioVenta" name="precioVenta" value="{$info.precioVenta}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IMAGEN ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
{if $info.imagen != ""}
|
||||
<a href="{$WEB_ROOT}/images/productos/{$info.imagen}" rel="clearbox">
|
||||
<img src="{$WEB_ROOT}/images/productos/{$info.imagen}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
<br />
|
||||
<input type="checkbox" name="delImage" id="delImage" value="1" />Eliminar imagen
|
||||
<br />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="imagen" id="imagen" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: CODIGOS DE BARRA ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="codigos">
|
||||
{include file="{$DOC_ROOT}/templates/lists/productos-codigos.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<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="EditProducto()"><span>Guardar</span></a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br /><br />
|
||||
<div style="margin-left:410px"><a href="{$WEB_ROOT}/productos"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
218
templates/forms/editar-promocion.tpl
Executable file
218
templates/forms/editar-promocion.tpl
Executable file
@@ -0,0 +1,218 @@
|
||||
<div id="divForm">
|
||||
<form name="frmPromocion" id="frmPromocion" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveEditPromocion" />
|
||||
<input type="hidden" name="promocionId" id="promocionId" value="{$info.promocionId}" />
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="{$info.nombre}"></div>
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">
|
||||
* Vigencia
|
||||
<br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumVigenciaPromo.tpl"}
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaIni" {if $info.vigencia != "Periodo"}style="display:none"{/if}>
|
||||
* Fecha Inicial:
|
||||
<br />
|
||||
<input type="text" class="largeInput" style="width:100px" name="fechaIni" id="fechaIni" maxlength="10" value="{$info.fechaIni}" />
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaIni','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaFin" {if $info.vigencia != "Periodo"}style="display:none"{/if}>
|
||||
* Fecha Final:
|
||||
<br />
|
||||
<input type="text" class="largeInput" style="width:100px" name="fechaFin" id="fechaFin" maxlength="10" value="{$info.fechaFin}" />
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaFin','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="3">
|
||||
* Aplicar Promoción a TODOS los productos?
|
||||
<br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumPromoAplicar.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Sucursal:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkSuc" id="checkSuc" value="1" onclick="CheckAllSuc()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumSucPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="listProducts" {if $info.aplicaTodos}style="display:none"{/if}>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Departamento:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkDepto" id="checkDepto" value="1" onclick="CheckAllDepto()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdCatPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Línea:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkLinea" id="checkLinea" value="1" onclick="CheckAllLinea()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" id="enumSubcats" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdSubcatPromo.tpl"}
|
||||
</div>
|
||||
<div align="right">
|
||||
<input type="button" value="Actualizar Líneas" style="padding:6px; margin-right:15px" onclick="LoadSubcats()" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Proveedor:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkProv" id="checkProv" value="1" onclick="CheckAllProv()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProvPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Producto:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkProd" id="checkProd" value="1" onclick="CheckAllProd()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" id="enumProds" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div id="cantProds" style="float:left"></div>
|
||||
<div align="right">
|
||||
<input type="button" value="Actualizar Productos" style="padding:6px; margin-right:15px" onclick="LoadProductos()" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">* Tipo de Promoción:</td>
|
||||
<td align="left" colspan="2">* Aplica en:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" width="230">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumTiposPromo.tpl"}
|
||||
</td>
|
||||
<td align="left" colspan="2">
|
||||
<div id="enumAplica">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumAplicarPromo.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowXY" {if $info.aplica != "XxY"}style="display:none"{/if}>
|
||||
<td align="left"></td>
|
||||
<td align="left">
|
||||
* Valor de X: <br />
|
||||
<input type="text" class="largeInput" name="valorX" id="valorX" value="{$info.valorX}" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Valor Y: <br />
|
||||
<input type="text" class="largeInput" name="valorY" id="valorY" value="{$info.valorY}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTipoDesc" {if $info.aplica != "N1Desc" && $info.aplica != "DescCuenta" && $info.aplica != "ArtConDesc"}style="display:none"{/if}>
|
||||
<td align="left">
|
||||
* Tipo de Descuento: <br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumDesctosPromo.tpl"}
|
||||
</td>
|
||||
<td align="left">
|
||||
* Valor del Descuento: <br />
|
||||
<input type="text" class="largeInput" name="valorDesc" id="valorDesc" value="{$info.valorDesc}" />
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtTotalCompra" {if $info.aplica != "DescCuenta" && $info.aplica != "ArtConDesc"}style="display:none"{/if}>
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompra" id="totalCompra" value="{$info.totalCompra}" />
|
||||
</div>
|
||||
<div id="txtValorN" {if $info.aplica != "N1Desc"}style="display:none"{/if}>
|
||||
* Valor N: <br />
|
||||
<input type="text" class="largeInput" name="valorN" id="valorN" value="{$info.valorN}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaB" {if $info.aplica != "CompraX"}style="display:none"{/if}>
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompra2" id="totalCompra2" value="{$info.totalCompra}" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Cant. de Art. a Regalar: <br />
|
||||
<div id="inputValorDesc">
|
||||
<input type="text" class="largeInput" name="cantArtRegalo" id="cantArtRegalo" value="{$info.cantArtRegalo}" />
|
||||
</div>
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr id="rowProdVentaB" {if $info.aplica != "CompraX"}style="display:none"{/if}>
|
||||
<td align="left" colspan="3">
|
||||
* Código Producto a Regalar: <br />
|
||||
<input type="text" class="largeInput" name="codigoProd" id="codigoProd" onblur="LoadInfoProd()" value="{$info.codigoBarra}" />
|
||||
<div id="infoProd">{$info.nomProd}</div>
|
||||
<input type="hidden" name="prodId" id="prodId" value="{$info.productoId}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaM" {if $info.aplica != "CompraXabonoM"}style="display:none"{/if}>
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompraM" id="totalCompraM" value="{$info.totalCompra}" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Porcentaje Abonar: <br />
|
||||
<input type="text" class="largeInput" name="porcentajeM" id="porcentajeM" value="{$info.valorDesc}" />
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
* Status: <br />
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumStatusPromo.tpl"}
|
||||
</td>
|
||||
<td align="left">
|
||||
Aplica en Productos Rebajados
|
||||
<br />
|
||||
<input type="checkbox" name="rebajado" id="rebajado" value="1" {if $info.rebajado}checked{/if} />
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
|
||||
<div align="center" id="loader" style="display:none">
|
||||
Este proceso puede tardar unos minutos.
|
||||
<br />Por favor, espere.
|
||||
<br /><img src="{$WEB_ROOT}/images/loading.gif" />
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="text-align:center; padding-left:310px">
|
||||
<a class="button" id="btnEdit"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
28
templates/forms/editar-proveedor-ctapagar.tpl
Executable file
28
templates/forms/editar-proveedor-ctapagar.tpl
Executable file
@@ -0,0 +1,28 @@
|
||||
<div id="divForm">
|
||||
<form id="editarProveedorForm" name="editarProveedorForm" method="post" onsubmit="return false">
|
||||
<input type="hidden" id="proveedorId" name="proveedorId" value="{$post.proveedorId}"/>
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombrenuv" class="largeInput wide2" value="{$post.nombre}" disabled="disabled" style="background-color:#CCCCCC">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Saldo Inicial</div>
|
||||
<div class="r"><input type="text" name="saldo" id="saldo" class="largeInput wide2" value="{$post.saldoCtaPagar}" onkeyup="CheckKey(event)">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div align="center">
|
||||
<input type="button" class="btnGral" onclick="SaveSaldoCtaPagar()" value="Actualizar" />
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveSaldoCtaPagar"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
223
templates/forms/editar-proveedor.tpl
Executable file
223
templates/forms/editar-proveedor.tpl
Executable file
@@ -0,0 +1,223 @@
|
||||
<div id="divForm">
|
||||
<form id="editarProveedorForm" name="editarProveedorForm" method="post">
|
||||
<input type="hidden" id="proveedorId" name="proveedorId" value="{$post.proveedorId}"/>
|
||||
<fieldset>
|
||||
<div class="a">
|
||||
<div class="l">* Numero de Proveedor:</div>
|
||||
<div class="r"><input value="{$post.noProv}" type="text" name="noProv" id="noProv" maxlength="13" class="largeInput">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">* RFC y Homoclave:</div>
|
||||
<div class="r"><input type="text" name="rfc" id="rfc" class="largeInput wide2" value="{$post.rfc}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombrenuv" class="largeInput wide2" value="{$post.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Dirección Fiscal ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Dirección:</div>
|
||||
<div class="r"><input type="text" name="calle" id="calle" class="largeInput wide2" value="{$post.calle}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">No Exterior:</div>
|
||||
<div class="r"><input type="text" name="noExt" id="noExt" class="largeInput wide2" value="{$post.noExt}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No Interior:</div>
|
||||
<div class="r"><input type="text" name="noInt" id="noInt" class="largeInput wide2" value="{$post.noInt}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Referencia:</div>
|
||||
<div class="r"><input type="text" name="referencia" id="referencia" class="largeInput wide2" value="{$post.referencia}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Colonia:</div>
|
||||
<div class="r"><input type="text" name="colonia" id="colonia" class="largeInput wide2" value="{$post.colonia}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Localidad:</div>
|
||||
<div class="r"><input type="text" name="localidad" id="localidad" class="largeInput wide2" value="{$post.localidad}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Municipio o Delegación:</div>
|
||||
<div class="r"><input type="text" name="municipio" id="municipio" class="largeInput wide2" value="{$post.municipio}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Estado:</div>
|
||||
<div class="r"><input type="text" name="estado" id="estado" class="largeInput wide2" value="{$post.estado}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Pais:</div>
|
||||
<div class="r"><input type="text" name="pais" id="pais" class="largeInput wide2" value="{$post.pais}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Código Postal:</div>
|
||||
<div class="r"><input type="text" name="codigoPostal" id="codigoPostal" class="largeInput wide2" value="{$post.codigoPostal}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Ventas ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><input type="text" name="nombreVtas" id="nombreVtas" class="largeInput wide2" value="{$post.nombreVtas}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><input type="telefonoVtas" name="telefonoVtas" id="calle" class="largeInput wide2" value="{$post.telefonoVtas}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><input type="text" name="celularVtas" id="celularVtas" class="largeInput wide2" value="{$post.celularVtas}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><input type="text" name="emailVtas" id="emailVtas" class="largeInput wide2" value="{$post.emailVtas}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Pagos ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><input type="text" name="nombrePagos" id="nombrePagos" class="largeInput wide2" value="{$post.nombrePagos}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><input type="telefonoPagos" name="telefonoPagos" id="calle" class="largeInput wide2" value="{$post.telefonoPagos}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><input type="text" name="celularPagos" id="celularPagos" class="largeInput wide2" value="{$post.celularPagos}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><input type="text" name="emailPagos" id="emailPagos" class="largeInput wide2" value="{$post.emailPagos}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Contacto Entregas ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Nombre Completo:</div>
|
||||
<div class="r"><input type="text" name="nombreEnt" id="nombreEnt" class="largeInput wide2" value="{$post.nombreEnt}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Oficina:</div>
|
||||
<div class="r"><input type="telefonoEnt" name="telefonoEnt" id="calle" class="largeInput wide2" value="{$post.telefonoEnt}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Teléfono Celular:</div>
|
||||
<div class="r"><input type="text" name="celularEnt" id="celularEnt" class="largeInput wide2" value="{$post.celularEnt}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Correo electrónico:</div>
|
||||
<div class="r"><input type="text" name="emailEnt" id="emailEnt" class="largeInput wide2" value="{$post.emailEnt}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<br />
|
||||
<div align="center"><b>.:: Datos Bancarios ::.</b></div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Banco:</div>
|
||||
<div class="r"><input type="text" name="banco" id="banco" class="largeInput wide2" value="{$post.banco}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">No. de Cuenta:</div>
|
||||
<div class="r"><input type="text" name="noCuenta" id="noCuenta" class="largeInput wide2" value="{$post.noCuenta}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">CLABE:</div>
|
||||
<div class="r"><input type="text" name="clabe" id="clabe" class="largeInput wide2" value="{$post.clabe}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Dirección de Almacén</div>
|
||||
<div class="r"><input type="text" name="almacen" id="almacen" class="largeInput wide2" value="{$post.almacen}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Plazo</div>
|
||||
<div class="r">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumPlazo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Publicidad</div>
|
||||
<div class="r">
|
||||
<input type="text" value="{$post.publicidad}" name="publicidad" class="largeInput wide2" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Flete</div>
|
||||
<div class="r"><input type="text" name="flete" id="flete" class="largeInput wide2" value="{$post.flete}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Desarrollo</div>
|
||||
<div class="r"><input type="text" name="desarrollo" id="desarrollo" class="largeInput wide2" value="{$post.desarrollo}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">% Especial</div>
|
||||
<div class="r"><input type="text" name="especial" id="especial" class="largeInput wide2" value="{$post.especial}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="a">
|
||||
<div class="l">Compra en Firme</div>
|
||||
<div class="r">
|
||||
<select id="compraFirme" name="compraFirme" class="largeInput">
|
||||
<option value="Si" {if $post.compraFirme eq "Si"} selected="selected"{/if} >Si</option>
|
||||
<option value="No" {if $post.compraFirme eq "No"} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:290px">
|
||||
<a class="button" id="editarProveedor" name="editarProveedor"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditProveedor"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
68
templates/forms/editar-rfc.tpl
Executable file
68
templates/forms/editar-rfc.tpl
Executable file
@@ -0,0 +1,68 @@
|
||||
<div id="divForm">
|
||||
<form id="editRfcForm" name="editRfcForm" method="post">
|
||||
<fieldset>
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:60%;float:left">* RFC y Homoclave (12 o 13 Letras SIN espacion o guiones):</div>
|
||||
<input name="rfc" id="rfc" type="text" value="{$post.rfc}" maxlength="13" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">* Nombre Completo o Razón Social:</div>
|
||||
<br />
|
||||
<input name="razonSocial" id="razonSocial" type="text" value="{$post.razonSocial}" size="50" class="largeInput wide2"/>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div align="center"><b>.:: Porcentajes ::.</b></div>
|
||||
<br />
|
||||
<div style="width:30%;float:left">Bonificación:</div>
|
||||
<input name="bonificacion" id="bonificacion" type="text" value="{$post.porcentajeBonificacion}" size="50" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Devolución:</div>
|
||||
<input name="devolucion" id="devolucion" type="text" value="{$post.porcentajeDevolucion}" size="50" class="largeInput wide2"/>
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div align="center"><b>.:: Devolución ::.</b></div>
|
||||
<br />
|
||||
<div style="width:30%;float:left">Días para realizar Devolución:</div>
|
||||
<input name="diasDevolucion" id="diasDevolucion" type="text" value="{$post.diasDevolucion}" size="50" class="largeInput wide2"/>
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div align="center"><b>.:: Dirección ::.</b></div>
|
||||
<br />
|
||||
<div style="width:30%;float:left">Calle:</div>
|
||||
<input name="calle" id="calle" type="text" value="{$post.calle}" size="50" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">No. Exterior:</div>
|
||||
<input name="noExt" id="noExt" type="text" value="{$post.noExt}" size="10" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">No. Interior:</div>
|
||||
<input name="noInt" id="noInt" type="text" value="{$post.noInt}" size="10" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Referencia:</div>
|
||||
<input name="referencia" id="referencia" type="text" value="{$post.referencia}" size="50" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Colonia:</div>
|
||||
<input name="colonia" id="colonia" type="text" value="{$post.colonia}" size="30" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Localidad:</div>
|
||||
<input name="localidad" id="localidad" type="text" value="{$post.localidad}" size="30" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Municipio o Delegación:</div>
|
||||
<input name="municipio" id="municipio" type="text" value="{$post.municipio}" size="30" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Ciudad:</div>
|
||||
<input name="ciudad" id="ciudad" type="text" value="{$post.ciudad}" size="30" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Código Postal:</div>
|
||||
<input name="cp" id="cp" type="text" value="{$post.cp}" size="10" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Estado:</div>
|
||||
<input name="estado" id="estado" type="text" value="{$post.estado}" size="30" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Pais:</div>
|
||||
<input name="pais" id="pais" type="text" value="{$post.pais}" size="50" class="largeInput wide2"/>
|
||||
<div style="width:60%;float:left">* Régimen Fiscal:</div>
|
||||
<input name="regimenFiscal" id="regimenFiscal" type="text" value="{$post.regimenFiscal}" size="13" class="largeInput wide2"/>
|
||||
<hr />
|
||||
<div style="clear:both"></div>
|
||||
* Campos requeridos
|
||||
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div class="formLine" style="text-align:center; padding-left:290px">
|
||||
<a class="button" id="editarRfc" name="editarRfc"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<input type="hidden" id="rfcId" name="rfcId" value="{$post.rfcId}" />
|
||||
<input type="hidden" name="type" id="type" value="saveEditRfc" />
|
||||
</form>
|
||||
</div>
|
||||
60
templates/forms/editar-sucursal.tpl
Executable file
60
templates/forms/editar-sucursal.tpl
Executable file
@@ -0,0 +1,60 @@
|
||||
<div id="divForm">
|
||||
<form id="editSucursalForm" name="editSucursalForm" method="post">
|
||||
<input type="hidden" id="sucursalId" name="sucursalId" value="{$post.sucursalId}"/>
|
||||
<fieldset>
|
||||
<div class="formLine" style="width:100%; text-align:left">
|
||||
<div style="width:50%;float:left">* Nombre:</div>
|
||||
<br />
|
||||
<input name="nombre" id="nombre" type="text" value="{$post.nombre}" class="largeInput wide2" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Número de Sucursal:</div>
|
||||
<input name="noSuc" id="noSuc" type="text" value="{$post.noSuc}" value="{$post.noSuc}" class="largeInput wide2"/>
|
||||
<br />
|
||||
<div align="center"><b>.:: Dirección ::.</b></div>
|
||||
|
||||
<div style="width:30%;float:left">Calle:</div>
|
||||
<input name="calle" id="calle" type="text" value="{$post.calle}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">No. Exterior:</div>
|
||||
<input name="noExt" id="noExt" type="text" value="{$post.noExt}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">No. Interior:</div>
|
||||
<input name="noInt" id="noInt" type="text" value="{$post.noInt}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Referencia:</div>
|
||||
<input name="referencia" id="referencia" type="text" value="{$post.referencia}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Colonia:</div>
|
||||
<input name="colonia" id="colonia" type="text" value="{$post.colonia}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Localidad:</div>
|
||||
<input name="localidad" id="localidad" type="text" value="{$post.localidad}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Municipio o Delegación:</div>
|
||||
<input name="municipio" id="municipio" type="text" value="{$post.municipio}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Ciudad:</div>
|
||||
<input name="ciudad" id="ciudad" type="text" value="{$post.ciudad}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Código Postal:</div>
|
||||
<input name="cp" id="cp" type="text" value="{$post.cp}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Estado:</div>
|
||||
<input name="estado" id="estado" type="text" value="{$post.estado}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Pais:</div>
|
||||
<input name="pais" id="pais" type="text" value="{$post.pais}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Teléfono:</div>
|
||||
<input name="telefono" id="telefono" type="text" value="{$post.telefono}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Google Map:</div>
|
||||
<input name="mapa" id="mapa" type="text" value="{$post.mapa}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Nombre del Arrendatario:</div>
|
||||
<input name="arrendatario" id="arrendatario" type="text" value="{$post.arrendatario}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Monto de la Renta:</div>
|
||||
<input name="montoRenta" id="montoRenta" type="text" value="{$post.montoRenta}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">Fecha de Vencimiento:</div>
|
||||
<input name="fechaVenc" id="fechaVenc" type="text" value="{$post.fechaVenc}" class="largeInput wide2"/>
|
||||
<div style="width:30%;float:left">* % IVA:</div>
|
||||
<input name="iva" id="iva" type="text" value="{$post.iva}" class="largeInput wide2"/>
|
||||
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
||||
<a class="button" id="editarSucursal" name="editarSucursal"><span>Actualizar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
21
templates/forms/editar-talla.tpl
Executable file
21
templates/forms/editar-talla.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form id="editarTallaForm" name="editarTallaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2" value="{$info.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="editarTalla" name="editarTalla"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditTalla"/>
|
||||
<input type="hidden" id="tallaId" name="tallaId" value="{$info.tallaId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
21
templates/forms/editar-temporada.tpl
Executable file
21
templates/forms/editar-temporada.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<div id="divForm">
|
||||
<form id="editarTemporadaForm" name="editarTemporadaForm" method="post">
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2" value="{$info.nombre}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campo requerido
|
||||
<div style="padding-left:300px">
|
||||
<a class="button" id="editarTemporada" name="editarTemporada"><span>Actualizar</span></a>
|
||||
</div>
|
||||
<input type="hidden" id="type" name="type" value="saveEditTemporada"/>
|
||||
<input type="hidden" id="temporadaId" name="temporadaId" value="{$info.temporadaId}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
179
templates/forms/editar-usuario.tpl
Executable file
179
templates/forms/editar-usuario.tpl
Executable file
@@ -0,0 +1,179 @@
|
||||
<div id="divForm">
|
||||
<form id="editarUsuarioForm" name="editarUsuarioForm" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="usuarioId" name="usuarioId" value="{$info.usuarioId}" />
|
||||
<input type="hidden" id="type" name="type" value="saveEditUsuario" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* Tipo:</td>
|
||||
<td>{include file="{$DOC_ROOT}/templates/lists/enumUserTypes.tpl"}</td>
|
||||
<td width="10"></td>
|
||||
<td width="130"><div id="txtSuc" {if $info.type == "supervisor"}style="display:none"{/if}>Sucursal:</div></td>
|
||||
<td>
|
||||
<div id="listSuc" {if $info.type == "supervisor"}style="display:none"{/if}>
|
||||
<select name="sucursalId" id="sucursalId" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}" {if $info.sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Nombre:</td>
|
||||
<td><input name="nombre" id="nombre" type="text" class="largeInput" style="width:290px" value="{$info.nombre}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Apellidos:</td>
|
||||
<td><input name="apellidos" id="apellidos" type="text" class="largeInput" style="width:290px" value="{$info.apellidos}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Dirección:</td>
|
||||
<td><input name="calle" id="calle" type="text" class="largeInput" style="width:290px" value="{$info.calle}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>No Exterior:</td>
|
||||
<td><input name="noExt" id="noExt" type="text" class="largeInput" style="width:290px" value="{$info.noExt}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No Interior:</td>
|
||||
<td><input name="noInt" id="noInt" type="text" class="largeInput" style="width:290px" value="{$info.noInt}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Referencia:</td>
|
||||
<td><input name="referencia" id="referencia" type="text" class="largeInput" style="width:290px" value="{$info.referencia}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Colonia:</td>
|
||||
<td><input name="colonia" id="colonia" type="text" class="largeInput" style="width:290px" value="{$info.colonia}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Localidad:</td>
|
||||
<td><input name="localidad" id="localidad" type="text" class="largeInput" style="width:290px" value="{$info.localidad}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Municipio o Delegación:</td>
|
||||
<td><input name="municipio" id="municipio" type="text" class="largeInput" style="width:290px" value="{$info.municipio}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Estado:</td>
|
||||
<td><input name="estado" id="estado" type="text" class="largeInput" style="width:290px" value="{$info.estado}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Pais:</td>
|
||||
<td><input name="pais" id="pais" type="text" class="largeInput" style="width:290px" value="{$info.pais}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Código Postal:</td>
|
||||
<td><input name="codigoPostal" id="codigoPostal" type="text" class="largeInput" style="width:290px" value="{$info.codigoPostal}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Teléfono:</td>
|
||||
<td><input name="telefono" id="telefono" type="text" class="largeInput" style="width:290px" value="{$info.telefono}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Celular:</td>
|
||||
<td><input name="celular" id="celular" type="text" class="largeInput" style="width:290px" value="{$info.celular}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No. IMSS:</td>
|
||||
<td><input name="noImss" id="noImss" type="text" class="largeInput" style="width:290px" value="{$info.noImss}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>CURP:</td>
|
||||
<td><input name="curp" id="curp" type="text" class="largeInput" style="width:290px" value="{$info.curp}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">RFC:</td>
|
||||
<td><input name="rfc" id="rfc" type="text" class="largeInput" style="width:290px" value="{$info.rfc}"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Email:</td>
|
||||
<td><input name="email" id="email" type="text" class="largeInput" style="width:290px" value="{$info.email}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Contraseña:</td>
|
||||
<td><input name="password" id="password" type="text" class="largeInput" style="width:290px" value="{$info.password}"/></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">
|
||||
{if $info.identificacion != ""}
|
||||
<a href="{$WEB_ROOT}/images/identificacion/{$info.identificacion}" target="_blank">
|
||||
<img src="{$WEB_ROOT}/images/identificacion/{$info.identificacion}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
<br />
|
||||
<input type="checkbox" name="delIdentificacion" id="delIdentificacion" value="1" />Eliminar imagen
|
||||
<br />
|
||||
{/if}
|
||||
</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">
|
||||
{if $info.comprobante != ""}}
|
||||
<a href="{$WEB_ROOT}/images/comprobante/{$info.comprobante}" target="_blank">
|
||||
<img src="{$WEB_ROOT}/images/comprobante/{$info.comprobante}" width="100" height="100" border="0" />
|
||||
</a>
|
||||
<br />
|
||||
<input type="checkbox" name="delComprobante" id="delComprobante" value="1" />Eliminar imagen
|
||||
<br />
|
||||
{/if}
|
||||
</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" {if $info.type != "supervisor"}style="display:none"{/if}>
|
||||
<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}" {if $item.checked}checked{/if} /></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="EditUsuario()"><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>
|
||||
77
templates/forms/excluir-promocion.tpl
Executable file
77
templates/forms/excluir-promocion.tpl
Executable file
@@ -0,0 +1,77 @@
|
||||
<div id="divForm">
|
||||
<form name="frmPromocion" id="frmPromocion" method="post" action="">
|
||||
<input type="hidden" name="type" id="type" value="saveExcluirPromocion" />
|
||||
<input type="hidden" name="promocionId" id="promocionId" value="{$info.promocionId}" />
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Proveedor:</div>
|
||||
<div class="r">
|
||||
<select name="proveedorId" id="proveedorId" class="largeInput wide2">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<option value="{$item.proveedorId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Departamento:</div>
|
||||
<div class="r">
|
||||
<select name="prodCatId" id="prodCatId" class="largeInput wide2" onchange="LoadSubcatsExc()">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$categorias item=item key=key}
|
||||
<option value="{$item.prodCatId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">Línea:</div>
|
||||
<div class="r" id="enumSubcats">
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput wide2">
|
||||
<option value="">Todas</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Producto:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkProd" id="checkProd" value="1" onclick="CheckAllProd()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" id="enumProds" style="clear:both">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumProdPromo.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div id="cantProds" style="float:left"></div>
|
||||
<div align="right">
|
||||
<input type="button" value="Actualizar Productos" style="padding:6px; margin-right:15px" onclick="LoadProdsExc()" />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
|
||||
<div align="center" id="loader" style="display:none">
|
||||
Este proceso puede tardar unos minutos.
|
||||
<br />Por favor, espere.
|
||||
<br /><img src="{$WEB_ROOT}/images/loading.gif" />
|
||||
</div>
|
||||
|
||||
<div class="formLine" style="text-align:center; padding-left:310px">
|
||||
<a class="button" id="btnEdit"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<div align="center"><b>PRODUCTOS EXCLUIDOS</b></div>
|
||||
<br />
|
||||
<div id="tblProds" align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/promociones-productos.tpl"}
|
||||
</div>
|
||||
62
templates/forms/filtro-buenfin-prov.tpl
Executable file
62
templates/forms/filtro-buenfin-prov.tpl
Executable file
@@ -0,0 +1,62 @@
|
||||
<form name="frmBuenFinProv" id="frmBuenFinProv" method="post" action="export/buenfin-proveedor.php">
|
||||
<input type="hidden" name="type" id="type" value="buenFinProv" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="480" align="center" colspan="2"><div align="center">Periodo</div></th>
|
||||
<th width="200" align="center"><div align="center">Proveedor</div></th>
|
||||
<th width="200" align="center"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Inicial: <input type="text" style="text-align:center; width:140px" name="fechaI" id="fechaI" class="smallInput" maxlength="10" readonly="readonly" value="{$fechaHoy}" />
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input type="text" style="text-align:center; width:140px" name="fechaF" id="fechaF" class="smallInput" maxlength="10" readonly="readonly" value="{$fechaHoy}" />
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="idProveedor" id="idProveedor" class="largeInput" style="width:200px !important">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$proveedores item=item}
|
||||
<option value="{$item.proveedorId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="idSucursal" id="idSucursal" class="largeInput">
|
||||
<option selected="selected" value="">Todas</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="RepBuenFinProv()"/>
|
||||
<div style="float:right; padding-right:50px">
|
||||
<a href="javascript:void(0)" onclick="ExportBuenFinProv()">
|
||||
<img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
74
templates/forms/filtro-cliente.tpl
Executable file
74
templates/forms/filtro-cliente.tpl
Executable file
@@ -0,0 +1,74 @@
|
||||
{*}
|
||||
<form name="formVend" id="formVend">
|
||||
<input type="hidden" name="type" id="type" value="dependSuc" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" colspan="2" width="50%"><div align="center">Cliente</div></th>
|
||||
{*} <th align="center" colspan="1" width="25%"><div align="center">Sucursal</div></th>{*}
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
{*}<td>
|
||||
<div style="float:left">
|
||||
Inicial:<input style="text-align:center" type="text" name="fechaI" id="fechaI" class="smallInput" style="width:120px" maxlength="10" readonly="readonly" value="{$dateNow}" />
|
||||
</div>
|
||||
<div style="float:left; padding-left:10px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input style="text-align:center" type="text" name="fechaF" id="fechaF" class="smallInput" style="width:120px" maxlength="10" readonly="readonly" value="{$dateNow}"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:10px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>{*}
|
||||
<td>
|
||||
<div style="text-align:center">
|
||||
<select name="temporada" id="temporada" class="largeInput">
|
||||
<option selected="selected" value=""> Selecciona una temporada</option>
|
||||
{foreach from=$resTemp item=item key=key}
|
||||
<option value="{$item.temporadaId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td></td>
|
||||
<td>
|
||||
<div style="text-align:center">
|
||||
{if $tipo eq "admin"}
|
||||
<select name="sucursal" id="sucursal" class="largeInput">
|
||||
<option selected="selected" value=""> Selecciona una sucursal</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif $tipo eq "gerente"}
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="sucursal" id="sucursal" value="{$item.sucursalId}"/>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{*}<div id="selectVend">{include file="{$DOC_ROOT}/templates/forms/select-vend.tpl"}</div>{*}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporteTempo" id="btnReporteTempo" value="Generar" class="btnSearch" onclick="ReporteTempo()"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
{*}
|
||||
54
templates/forms/filtro-cuentas-pagar-saldos.tpl
Executable file
54
templates/forms/filtro-cuentas-pagar-saldos.tpl
Executable file
@@ -0,0 +1,54 @@
|
||||
<form name="frmSaldos" id="frmSaldos" method="post" action="export/cuentas-pagar-saldos.php">
|
||||
<input type="hidden" name="type" id="type" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"></th>
|
||||
<th align="center"><div align="center">Proveedor</div></th>
|
||||
<th align="center"><div align="center">Con Saldos Iniciales</div></th>
|
||||
<th align="center"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center">
|
||||
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:250px;">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$suppliers item=item key=key}
|
||||
<option value="{$item.proveedorId}">{$item.noProv|str_pad:3:"0":$smarty.const.STR_PAD_LEFT} {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="saldoIni2" id="saldoIni2" class="largeInput" style="width:120px;">
|
||||
<option value="">Todos</option>
|
||||
<option value="1">Sí</option>
|
||||
<option value="0">No</option>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center" colspan="2">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Buscar()" />
|
||||
</td>
|
||||
<td align="center" colspan="1">
|
||||
<div style="float:right; padding-right:50px"><a href="javascript:void(0)" onclick="ExportReport()"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="{$WEB_ROOT}/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
48
templates/forms/filtro-cuentas-pagar.tpl
Executable file
48
templates/forms/filtro-cuentas-pagar.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
<form name="frmSaldos" id="frmSaldos" method="post" action="export/cuentas-pagar.php">
|
||||
<input type="hidden" name="action" id="action" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="280"></th>
|
||||
<th align="center" width="200"><div align="center">Proveedor</div></th>
|
||||
<th align="center" width="30"><div align="center">Global</div></th>
|
||||
<th align="center"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center">
|
||||
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:250px;">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<option value="{$item.proveedorId}">{$item.noProv|str_pad:3:"0":$smarty.const.STR_PAD_LEFT} {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td><input type="checkbox" name="global" id="global" value="1" /></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Buscar()" />
|
||||
</td>
|
||||
<td align="center" colspan="2">
|
||||
<div style="float:right; padding-right:50px"><a href="javascript:void(0)" onclick="ExportReport()"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="{$WEB_ROOT}/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
62
templates/forms/filtro-gral-dias.tpl
Executable file
62
templates/forms/filtro-gral-dias.tpl
Executable file
@@ -0,0 +1,62 @@
|
||||
<form name="formV" id="formV" method="post" action="export/general-dias.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoGralDias" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="500" align="center" colspan="2"><div align="center">Periodo</div></th>
|
||||
<th width="400" align="center"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
{if $tipo eq "admin"}
|
||||
<td align="center">
|
||||
<select name="sucursalId" id="sucursalId" class="largeInput">
|
||||
<option selected="selected" value=""> Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
{elseif $tipo eq "gerente" || $tipo eq "vendedor"}
|
||||
<td align="center">
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" name="nomSucursal" id="nomSucursal" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="{$item.sucursalId}" />
|
||||
{/foreach}
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ExportGral()"/>
|
||||
<div style="float:right; padding-right:50px">
|
||||
<a href="javascript:void(0)" onclick="ExportGral()">
|
||||
<img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
58
templates/forms/filtro-gral.tpl
Executable file
58
templates/forms/filtro-gral.tpl
Executable file
@@ -0,0 +1,58 @@
|
||||
<form name="formV" id="formV" method="post" action="export/ventas-general.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoGral" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="500" align="center" colspan="2"><div align="center">Periodo</div></th>
|
||||
<th width="400" align="center"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
{if $tipo eq "admin"}
|
||||
<td align="center">
|
||||
<select name="idSucursal" id="idSucursal" class="largeInput">
|
||||
<option selected="selected" value=""> Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
{elseif $tipo eq "gerente" || $tipo eq "vendedor"}
|
||||
<td align="center">
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" name="nomSucursal" id="nomSucursal" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="idSucursal" id="idSucursal" value="{$item.sucursalId}" />
|
||||
{/foreach}
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteGral();"/>
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportGral(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
68
templates/forms/filtro-pago.tpl
Executable file
68
templates/forms/filtro-pago.tpl
Executable file
@@ -0,0 +1,68 @@
|
||||
|
||||
<form name="formPago" id="formPago" method="post" action="export/exportarexcel.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoPago" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" colspan="2" width="50%"><div align="center">Periodo</div></th>
|
||||
<th align="center" colspan="1" width="25%"><div align="center">Forma de Pago</div></th>
|
||||
<th align="center" colspan="1" width="25%"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Inicial:<input style="text-align:center" type="text" name="fechaI" id="fechaI" class="smallInput" style="width:120px" maxlength="10" readonly="readonly" value="{$dateNow}"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:10px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input style="text-align:center" type="text" name="fechaF" id="fechaF" class="smallInput" style="width:120px" maxlength="10" readonly="readonly" value="{$dateNow}"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:10px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="text-align:center">
|
||||
<select name="formaPago" id="formaPago" class="largeInput" style="width:200px">
|
||||
<option selected="selected" value="">Todas</option>
|
||||
{foreach from=$resFpago item=item key=key}
|
||||
<option value="{$item.metodoPagoId}"> {$item.nombre|utf8_encode}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="text-align:center">
|
||||
{if $tipo == "admin"}
|
||||
<select name="idSucursal" id="idSucursal" class="largeInput" style="width:200px">
|
||||
<option selected="selected" value=""> Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif $tipo eq "gerente" || $tipo eq "vendedor"}
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="idSucursal" id="idSucursal" value="{$item.sucursalId}"/>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="4">
|
||||
<input type="button" name="btnReporteTempo" id="btnReporteTempo" value="Generar" class="btnSearch" onclick="ReporteFpago()"/>
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportFpago(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
66
templates/forms/filtro-proMasVend.tpl
Executable file
66
templates/forms/filtro-proMasVend.tpl
Executable file
@@ -0,0 +1,66 @@
|
||||
<form name="formMasVend" id="formMasVend" method="post" action="export/exportarexcel.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoProMasVend" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="450" align="center" colspan="2"><div align="center">Periodo</div></th>
|
||||
<th width="150" align="center"><div align="center">Orden</div></th>
|
||||
<th width="260" align="center"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="orden" id="orden" class="largeInput">
|
||||
<option value="mayor" selected="selected">Más Vendido</option>
|
||||
<option value="menor">Menos Vendido</option>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
{if $tipo eq "admin"}
|
||||
<td align="center">
|
||||
<select name="sucursal" id="sucursal" class="largeInput">
|
||||
<option selected="selected" value="">Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
{elseif $tipo eq "gerente"}
|
||||
<td align="center">
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="sucursal" id="sucursal" value="{$item.sucursalId}" />
|
||||
{/foreach}
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteProMasVend();"/>
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportProdVend(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
42
templates/forms/filtro-prods-transito.tpl
Executable file
42
templates/forms/filtro-prods-transito.tpl
Executable file
@@ -0,0 +1,42 @@
|
||||
<form name="frmProdsTransito" id="frmProdsTransito" method="post" action="export/prods-transito.php">
|
||||
<input type="hidden" name="type" id="type" value="prodsTransito" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<select name="idSucursal" id="idSucursal" class="largeInput">
|
||||
<option value="">Todas</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="RepProdsTransito()"/>
|
||||
<div style="float:right; padding-right:50px">
|
||||
<a href="javascript:void(0)" onclick="ExportProdsTransito()">
|
||||
<img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<div id="loadBusqueda" style="display:none" align="center">
|
||||
<br />
|
||||
<img src="{$WEB_ROOT}/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
50
templates/forms/filtro-productos-comprados.tpl
Executable file
50
templates/forms/filtro-productos-comprados.tpl
Executable file
@@ -0,0 +1,50 @@
|
||||
<form name="formMcomprado" id="formComprado" method="post" action="export/exportarexcel.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoComprado" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" colspan="2"><div align="center">Periodo</div></th>
|
||||
<th align="center"><div align="center">Orden</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<div style="float:left; padding-left:30px">
|
||||
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left;padding-left:15px;padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div align="center">
|
||||
<select name="orden" id="orden" class="largeInput">
|
||||
<option value="mayor" selected="selected">Producto Más Comprado</option>
|
||||
<option value="menor">Producto Menos Comprado</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<div style="margin:0px;">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteComprados();"/>
|
||||
<div style="float: right;margin:0px; padding-right:30px"><a href="#" onclick="ExportProdC(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
49
templates/forms/filtro-reporte-cuentaspen.tpl
Executable file
49
templates/forms/filtro-reporte-cuentaspen.tpl
Executable file
@@ -0,0 +1,49 @@
|
||||
<form name="frmCuentasPend" id="frmCuentasPend" method="post" action="export/exportarexcel.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoCuentasPend" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="40%"><div align="center" style="width:100%">Proveedor</div></th>
|
||||
<th align="center" width="60%" colspan="2"><div align="center" style="text-align:center">Fecha Pedido</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<select name="proveedor" id="proveedor" class="largeInput" style="width:300px;">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$resProveedor item=item key=key}
|
||||
<option value="{$item.proveedorId}" >{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td align="center">
|
||||
<div style="float:left; padding-left:20px">
|
||||
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
<div style="float:left;padding-left:15px;padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:right; padding-right:80px; padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporte" value="Generar" class="btnSearch" onclick="ReporteCuentasPend()" />
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportCuentasPend(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
46
templates/forms/filtro-reporte-faltantes.tpl
Executable file
46
templates/forms/filtro-reporte-faltantes.tpl
Executable file
@@ -0,0 +1,46 @@
|
||||
<form name="frmFaltantes" id="frmFaltantes" method="post" action="export/reporte-faltantes.php">
|
||||
<input type="hidden" name="type" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="150"></th>
|
||||
<th align="center"><div align="center">Proveedor</div></th>
|
||||
<th align="center"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center">
|
||||
<select name="proveedorId" id="proveedorId" class="largeInput" style="width:250px;">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$proveedores2 item=item key=key}
|
||||
<option value="{$item.proveedorId}">{$item.nombre|truncate:50:"..."}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Buscar()" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportInv(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
80
templates/forms/filtro-reporte-inventario.tpl
Executable file
80
templates/forms/filtro-reporte-inventario.tpl
Executable file
@@ -0,0 +1,80 @@
|
||||
<form name="formInven" id="formInven" method="post" action="export/reporte-inventario.php">
|
||||
<input type="hidden" name="type" value="rInventario" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="200"><div align="center">Sucursal</div></th>
|
||||
<th align="center" width="250"><div align="center">Proveedor</div></th>
|
||||
<th align="center" width="200"><div align="center">Departamento</div></th>
|
||||
<th align="center" width="200"><div align="center">Línea</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<div style="text-align:center">
|
||||
{if $tipo == "admin" || $tipo == "centralizador" || $tipo == "compras" || $tipo == "direccion" || $tipo == "supervisor"}
|
||||
<select name="sucursal" id="sucursal" class="largeInput" style="width:200px">
|
||||
<option selected="selected" value=""> Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre|utf8_decode}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif $tipo eq "gerente"}
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="sucursal" id="sucursal" value="{$item.sucursalId}"/>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="proveedorId" id="proveedorId" class="largeInput" style="width:250px;">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<option value="{$item.proveedorId}">{$item.nombre|truncate:50:"..."}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="prodCatId" id="prodCatId" class="largeInput" style="width:200px;" onchange="LoadSubcats()">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$departamentos item=item key=key}
|
||||
<option value="{$item.prodCatId}">{$item.nombre|truncate:50:"..."}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div id="enumSubcats">
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:200px;">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$lineas item=item key=key}
|
||||
<option value="{$item.prodSubcatId}">{$item.nombre|truncate:50:"..."}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center" colspan="2">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Rinventario()" />
|
||||
</td>
|
||||
<td align="center" colspan="1">
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportInv(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
102
templates/forms/filtro-reporte-prod-prov.tpl
Executable file
102
templates/forms/filtro-reporte-prod-prov.tpl
Executable file
@@ -0,0 +1,102 @@
|
||||
<form name="formProdProv" id="formProdProv" method="post" action="{$WEB_ROOT}/export/prod-prov.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoProdProv" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="100"><div align="center">Fecha Inicial</div></th>
|
||||
<th align="center" width="100"><div align="center">Fecha Final</div></th>
|
||||
<th align="center"><div align="center">Proveedor</div></th>
|
||||
<th align="center" width="140"><div align="center">Código Barra</div></th>
|
||||
<th align="center" width="200"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
<select name="mesI" id="mesI" class="smallInput">
|
||||
<option value="">Mes</option>
|
||||
{assign var="m" value="{$smarty.now|date_format:"m"}"}
|
||||
<option value="01" {if $m == "01"}selected{/if}>Enero</option>
|
||||
<option value="02" {if $m == "02"}selected{/if}>Febrero</option>
|
||||
<option value="03" {if $m == "03"}selected{/if}>Marzo</option>
|
||||
<option value="04" {if $m == "04"}selected{/if}>Abril</option>
|
||||
<option value="05" {if $m == "05"}selected{/if}>Mayo</option>
|
||||
<option value="06" {if $m == "06"}selected{/if}>Junio</option>
|
||||
<option value="07" {if $m == "07"}selected{/if}>Julio</option>
|
||||
<option value="08" {if $m == "08"}selected{/if}>Agosto</option>
|
||||
<option value="09" {if $m == "09"}selected{/if}>Septiembre</option>
|
||||
<option value="10" {if $m == "10"}selected{/if}>Octubre</option>
|
||||
<option value="11" {if $m == "11"}selected{/if}>Noviembre</option>
|
||||
<option value="12" {if $m == "12"}selected{/if}>Diciembre</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px;">
|
||||
<select class="smallInput" name="anioI" id="anioI" />
|
||||
<option value="">Año</option>
|
||||
{assign var="anioF" value="{$smarty.now|date_format:"Y"}"}
|
||||
{for $i=2013 to $anioF}
|
||||
<option value="{$i}" {if $i == $anioF}selected{/if}>{$i}</option>
|
||||
{/for}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
<select name="mesF" id="mesF" class="smallInput">
|
||||
<option value="">Mes</option>
|
||||
{assign var="m" value="{$smarty.now|date_format:"m"}"}
|
||||
<option value="01" {if $m == "01"}selected{/if}>Enero</option>
|
||||
<option value="02" {if $m == "02"}selected{/if}>Febrero</option>
|
||||
<option value="03" {if $m == "03"}selected{/if}>Marzo</option>
|
||||
<option value="04" {if $m == "04"}selected{/if}>Abril</option>
|
||||
<option value="05" {if $m == "05"}selected{/if}>Mayo</option>
|
||||
<option value="06" {if $m == "06"}selected{/if}>Junio</option>
|
||||
<option value="07" {if $m == "07"}selected{/if}>Julio</option>
|
||||
<option value="08" {if $m == "08"}selected{/if}>Agosto</option>
|
||||
<option value="09" {if $m == "09"}selected{/if}>Septiembre</option>
|
||||
<option value="10" {if $m == "10"}selected{/if}>Octubre</option>
|
||||
<option value="11" {if $m == "11"}selected{/if}>Noviembre</option>
|
||||
<option value="12" {if $m == "12"}selected{/if}>Diciembre</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="float:left; padding-left:15px;">
|
||||
<select class="smallInput" name="anioF" id="anioF" />
|
||||
<option value="">Año</option>
|
||||
{assign var="anioF" value="{$smarty.now|date_format:"Y"}"}
|
||||
{for $i=2013 to $anioF}
|
||||
<option value="{$i}" {if $i == $anioF}selected{/if}>{$i}</option>
|
||||
{/for}
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="idProveedor" id="idProveedor" class="smallInput" style="width:200px !important">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$resProveedor item=item}
|
||||
<option value="{$item.proveedorId}">{$item.proveedorId|str_pad:3:"0":$smarty.const.STR_PAD_LEFT} {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" class="smallInput" name="codigoBarra" id="codigoBarra" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="idSucursal" id="idSucursal" class="smallInput" style="width:200px">
|
||||
<option selected="selected" value=""> Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="5">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteProdProv()"/>
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportProdProv(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
95
templates/forms/filtro-reporte-prod-prov2.tpl
Executable file
95
templates/forms/filtro-reporte-prod-prov2.tpl
Executable file
@@ -0,0 +1,95 @@
|
||||
<form name="formProdProv" id="formProdProv" method="post" action="export/prod-prov2.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoProdProv" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="200"><div align="center">Fecha Inicial</div></th>
|
||||
<th align="center" width="200"><div align="center">Fecha Final</div></th>
|
||||
<th align="center" width="220"><div align="center">Tipo</div></th>
|
||||
<th align="center" width=""><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left; padding-left:45px">
|
||||
<input type="text" name="fechaI" id="fechaI" class="smallInput" style="width:70px" maxlength="10" value=""/>
|
||||
</div>
|
||||
<div style="float:left;padding-left:15px;padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="float:left; padding-left:45px">
|
||||
<input type="text" name="fechaF" id="fechaF" class="smallInput" style="width:70px" maxlength="10" value=""/>
|
||||
</div>
|
||||
<div style="float:left;padding-left:15px;padding-top:5px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
||||
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="orden" id="orden" class="smallInput">
|
||||
<option value="mayor">Más Vendidos</option>
|
||||
<option value="menor">Menos Vendidos</option>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="idSucursal" id="idSucursal" class="smallInput" style="width:200px">
|
||||
<option selected="selected" value=""> Todas</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="180"><div align="center">Código Barra</div></th>
|
||||
<th align="center" width="220"><div align="center">Departamento</div></th>
|
||||
<th align="center" width="220"><div align="center">Línea</div></th>
|
||||
<th align="center"><div align="center">Proveedor</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="text" class="smallInput" name="codigoBarra" id="codigoBarra" />
|
||||
</td>
|
||||
<td>
|
||||
<select name="prodCatId" id="prodCatId" class="smallInput" style="width:200px" onchange="LoadProdSubcats()">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$categorias item=item key=key}
|
||||
<option value="{$item.prodCatId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td align="center"><div id="enumSubcats">{include file="{$DOC_ROOT}/templates/lists/enumProdSubcat3.tpl"}</div></td>
|
||||
<td align="center">
|
||||
<select name="idProveedor" id="idProveedor" class="smallInput" style="width:200px !important">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$proveedores item=item}
|
||||
<option value="{$item.proveedorId}">{$item.proveedorId|str_pad:3:"0":$smarty.const.STR_PAD_LEFT} {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="4">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteProdProv2()"/>
|
||||
<div style="float:right; padding-right:50px">
|
||||
<a href="javascript:void(0)" onclick="ExportProdProv2()" title="Exportar Reporte">
|
||||
<img src="{$WEB_ROOT}/images/icons/excel.png" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
41
templates/forms/filtro-reporte-ticket.tpl
Executable file
41
templates/forms/filtro-reporte-ticket.tpl
Executable file
@@ -0,0 +1,41 @@
|
||||
<form name="frmTickets" id="frmTickets" method="post" action="export/reporte-tickets.php">
|
||||
<input type="hidden" name="type" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="100"></th>
|
||||
<th align="center"><div align="center">Código Barra</div></th>
|
||||
<th align="center" width="100"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center">
|
||||
<input type="text" class="largeInput" name="codigoBarra2" id="codigoBarra2" style="width:200px" />
|
||||
</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Generar()" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportInv(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
40
templates/forms/filtro-reporte-ventas.tpl
Executable file
40
templates/forms/filtro-reporte-ventas.tpl
Executable file
@@ -0,0 +1,40 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"><div align="center">Selecciona el Tipo de Reporte</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align:center">
|
||||
<div style=" text-align:center">
|
||||
<form action="" id="formRventas" name="formRventas" method="post">
|
||||
<input type="hidden" name="type" id="type" value="tipoReporte" />
|
||||
<select class="largeInput" name="selectRventas" id="selectRventas" onchange="TipoReporte();">
|
||||
<option disabled="disabled" selected="selected">Selecciona el tipo de reporte</option>
|
||||
<option value="gral">General</option>
|
||||
<option value="fpago">Formas de Pago</option>
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "centralizador" || $Usr.type == "almacen"}
|
||||
<option value="prodProv">Productos por Proveedor</option>
|
||||
<option value="prodProv2">Prods. Más y Menos Vendidos por Prov.</option>
|
||||
{/if}
|
||||
|
||||
<option value="gralDias">General por Días</option>
|
||||
<option value="vend">Por vendedor</option>
|
||||
<option value="temp">Por temporada</option>
|
||||
{*
|
||||
<option value="vendProveedor">Proveedor</option>
|
||||
*}
|
||||
<option value="proMasVend">Productos</option>
|
||||
{if $Usr.type == "admin"}
|
||||
<option value="buenFinProv">Buen Fin por Proveedor</option>
|
||||
<option value="prodsTransito">Productos en Tránsito</option>
|
||||
{/if}
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user