Primer commit del sistema avantika sin cambios
This commit is contained in:
26
templates/lists/analisis-producto.tpl
Executable file
26
templates/lists/analisis-producto.tpl
Executable file
@@ -0,0 +1,26 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTable">
|
||||
{foreach from=$iP.productos item=iA key=kA}
|
||||
<tr>
|
||||
<td width="120" height="22"></td>
|
||||
<td align="center" width="30"> > </td>
|
||||
<td align="left">
|
||||
<div style="float:left; width:280px">{$iA.codigoBarra} {$iA.modelo}</div>
|
||||
<div style="float:right">
|
||||
<div style="float:left; width:110px; border-left:1px solid #000000; text-align:center">
|
||||
{$iA.fechaEnt|date_format:"%d-%m-%Y"}
|
||||
</div>
|
||||
<div style="float:left; width:110px; border-left:1px solid #000000; border-right:1px solid #000000; text-align:center">
|
||||
{$iA.totProds|number_format:0:'.':','}
|
||||
</div>
|
||||
<div style="float:left; width:120px; border-right:1px solid #000000; text-align:center">
|
||||
${$iA.totVtas|number_format:2:'.':','}
|
||||
</div>
|
||||
<div style="float:left; width:100px; border-right:1px solid #000000; text-align:center">
|
||||
${$iA.utilidad|number_format:2:'.':','}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
20
templates/lists/analisis-proveedor.tpl
Executable file
20
templates/lists/analisis-proveedor.tpl
Executable file
@@ -0,0 +1,20 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTable">
|
||||
{foreach from=$iS.proveedores item=iP key=kP}
|
||||
<tr>
|
||||
<td width="70" height="35"></td>
|
||||
<td align="center" width="40">
|
||||
<a href="javascript:void(0)" onclick="ShowProductos({$kS},{$kP})"><div id="iconProv_{$kS}_{$kP}">[+]</div></a>
|
||||
</td>
|
||||
<td align="left">{$iP.nombre}</td>
|
||||
<td>TOTAL</td>
|
||||
<td width="110" align="center">{$iP.prendas|number_format:0:'.':','}</td>
|
||||
<td width="110" align="center">${$iP.ventas|number_format:2:'.':','}</td>
|
||||
<td width="110" align="center">${$iP.utilidad|number_format:2:'.':','}</td>
|
||||
</tr>
|
||||
<tr id="prod_{$kS}_{$kP}" style="display:none">
|
||||
<td colspan="7" align="left">
|
||||
{include file="{$DOC_ROOT}/templates/lists/analisis-producto.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
21
templates/lists/analisis-sucursal.tpl
Executable file
21
templates/lists/analisis-sucursal.tpl
Executable file
@@ -0,0 +1,21 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTable">
|
||||
{foreach from=$sucursales item=iS key=kS}
|
||||
<tr>
|
||||
<td width="40" height="35"></td>
|
||||
<td align="center" width="40">
|
||||
<a href="javascript:void(0)" onclick="ShowProveedores({$kS})"><div id="iconSuc_{$kS}">[+]</div></a>
|
||||
</td>
|
||||
<td align="left">{$iS.nombre}</td>
|
||||
</tr>
|
||||
|
||||
<tr id="prov_{$kS}" style="display:none">
|
||||
<td colspan="3" align="left">
|
||||
{include file="{$DOC_ROOT}/templates/lists/analisis-proveedor.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
25
templates/lists/analisis-venta.tpl
Executable file
25
templates/lists/analisis-venta.tpl
Executable file
@@ -0,0 +1,25 @@
|
||||
{if $sucursales|count > 0}
|
||||
<div align="center">
|
||||
<b>Periodo:</b>
|
||||
<br />
|
||||
{$fechaIni|date_format:"%d-%m-%Y"} al {$fechaFin|date_format:"%d-%m-%Y"}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/analisis-venta-header.tpl" clase="Off"}
|
||||
{include file="{$DOC_ROOT}/templates/items/analisis-venta-base.tpl" clase="Off"}
|
||||
|
||||
{if $sucursales|count > 0}
|
||||
<tr>
|
||||
<td align="left"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center">TOTALES</td>
|
||||
<td align="center">{$totales.totProds}</td>
|
||||
<td align="center">{$totales.totVtas|number_format:2:'.':','}</td>
|
||||
<td align="center">{$totales.utilidad|number_format:2:'.':','}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$meses.pages colspan=10}
|
||||
16
templates/lists/atributos-valores.tpl
Executable file
16
templates/lists/atributos-valores.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/atributos-valores-header.tpl" clase="Off"}
|
||||
|
||||
{if count($item.valores)}
|
||||
{foreach from=$item.valores item=itm key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/atributos-valores-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/atributos-valores-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="3" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new2.tpl" pages=$valores.pages colspan=3}
|
||||
16
templates/lists/atributos.tpl
Executable file
16
templates/lists/atributos.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/atributos-header.tpl" clase="Off"}
|
||||
|
||||
{if count($atributos.items)}
|
||||
{foreach from=$atributos.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/atributos-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/atributos-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="4" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$atributos.pages colspan=4}
|
||||
49
templates/lists/bonificaciones-pendientes.tpl
Executable file
49
templates/lists/bonificaciones-pendientes.tpl
Executable file
@@ -0,0 +1,49 @@
|
||||
{*include file="{$DOC_ROOT}/templates/items/bonificaciones-pendientes-header.tpl" clase="Off"}
|
||||
|
||||
{if count($bonificaciones.items)}
|
||||
{foreach from=$bonificaciones.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-pendientes-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-pendientes-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="13" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$bonificaciones.pages colspan=13*}
|
||||
<table id="box-table-a">
|
||||
{foreach from=$resPedidos item=item2 key=key2}
|
||||
<tr><th colspan="2">Pedido No. {$item2.pedidoId}</th><th colspan="10">{$item2.nombre}</th></tr>
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-pendientes-header.tpl" clase="Off"}
|
||||
{foreach from=$bonificaciones.items item=item key=key}
|
||||
{if $item.pedidoId == $item2.pedidoId}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-pendientes-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-pendientes-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
<tr>
|
||||
<td colspan="2">Total Bonificacion:</td>
|
||||
<td colspan="2">
|
||||
{if $item2.compraFirme eq "No" && $item2.estatus neq "Aprobado"}
|
||||
$ <input type="text" id="totalBonificacion_{$item2.pedidoId}" name="totalBonificacion_{$item2.pedidoId}" value="{$item2.totalBonificacion}" style="width:70px;" />
|
||||
{else}
|
||||
${$item2.totalBonificacion2}
|
||||
{/if}
|
||||
</td>
|
||||
<td colspan="2">Total Devolucion:</td>
|
||||
<td colspan="2">
|
||||
${$item2.totalDevolucion}
|
||||
<input type="hidden" id="totalDevolucion_{$item2.pedidoId}" name="totalDevolucion_{$item2.pedidoId}" value="{$item2.totalDevolucion}" />
|
||||
</td>
|
||||
<td colspan="4">
|
||||
{if $item2.compraFirme eq "No" && $item2.estatus neq "Aprobado"}
|
||||
<input type="button" onclick="aplicarBonifDev({$item2.pedidoId});" value="Aplicar Bonificaciones/Devoluciones" name="aplicar_{$item2.pedidoId}" id="aplicar_{$item2.pedidoId}" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
14
templates/lists/bonificaciones.tpl
Executable file
14
templates/lists/bonificaciones.tpl
Executable file
@@ -0,0 +1,14 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-header.tpl" clase="Off"}
|
||||
|
||||
{foreach from=$bonificaciones.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/bonificaciones-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{foreachelse}
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
{/foreach}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$bonificaciones.pages colspan=9}
|
||||
16
templates/lists/clientes.tpl
Executable file
16
templates/lists/clientes.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/clientes-header.tpl" clase="Off"}
|
||||
|
||||
{if count($clientes.items)}
|
||||
{foreach from=$clientes.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/clientes-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/clientes-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="3" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$clientes.pages colspan=3}
|
||||
16
templates/lists/colores.tpl
Executable file
16
templates/lists/colores.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/colores_header.tpl" clase="Off"}
|
||||
|
||||
{if count($colores.items)}
|
||||
{foreach from=$colores.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/colores_base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/colores_base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="3" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$colores.pages colspan=3}
|
||||
16
templates/lists/comisiones.tpl
Executable file
16
templates/lists/comisiones.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/comisiones-header.tpl" clase="Off"}
|
||||
|
||||
{if count($comisiones.items)}
|
||||
{foreach from=$comisiones.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/comisiones-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/comisiones-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="6" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$comisiones.pages colspan=6}
|
||||
34
templates/lists/conceptos-cobrar.tpl
Executable file
34
templates/lists/conceptos-cobrar.tpl
Executable file
@@ -0,0 +1,34 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="boxTblC" style="border-top:1px solid #CCCCCC">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="" align="center">Descripción</th>
|
||||
<th width="50" align="center" height="30">Cant.</th>
|
||||
<th width="90" align="center">P. Unit.</th>
|
||||
<th width="90" align="center">Total</th>
|
||||
<th width="20" align="center"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="left" class="bordeTop">{$item.nombre}</td>
|
||||
<td align="center" class="bordeTop">{$item.cantidad}</td>
|
||||
<td align="center" class="bordeTop">{$item.precioUnitario|number_format:2:".":","}</td>
|
||||
<td align="center" class="bordeTop">{$item.total|number_format:2:".":","}</td>
|
||||
<td align="center" class="bordeTop"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Desc. {if $item.tipoDesc == "Dinero"}${/if} {$item.valDesc} {if $item.tipoDesc == "Porcentaje"}%{/if}
|
||||
</td>
|
||||
<td align="center" colspan="2"></td>
|
||||
<td align="center">{$item.totalDesc|number_format:2:".":","}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="6" align="center">Ningún producto encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
44
templates/lists/conceptos-descuentos.tpl
Executable file
44
templates/lists/conceptos-descuentos.tpl
Executable file
@@ -0,0 +1,44 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="boxTblC" style="border-top:1px solid #CCCCCC">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="" align="center">Descripción</th>
|
||||
<th width="50" align="center" height="30">Cant.</th>
|
||||
<th width="90" align="center">P. Unit.</th>
|
||||
<th width="90" align="center">Total</th>
|
||||
<th width="20" align="center"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="left" class="bordeTop">{$item.nombre}</td>
|
||||
<td align="center" class="bordeTop">{$item.cantidad}</td>
|
||||
<td align="center" class="bordeTop">{$item.precioUnitario|number_format:2:".":","}</td>
|
||||
<td align="center" class="bordeTop">{$item.total|number_format:2:".":","}</td>
|
||||
<td align="center" class="bordeTop"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<div style="float:left">
|
||||
<select class="smallInput" name="tipoDesc_{$key}" id="tipoDesc_{$key}" onchange="UpdatePrecios({$key})">
|
||||
<option value="">Sel. Descuento</option>
|
||||
<option value="Dinero">En Dinero</option>
|
||||
<option value="Porcentaje">En Porcentaje</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="float:left">
|
||||
<input type="text" class="smallInput" name="valDesc_{$key}" id="valDesc_{$key}" placeholder="Cantidad" onblur="UpdatePrecios({$key})" />
|
||||
</div>
|
||||
</td>
|
||||
<td align="center"></td>
|
||||
<td></td>
|
||||
<td align="center"><div id="txtTotalProd_{$key}">0.00</div></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="6" align="center">Ningún producto encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
33
templates/lists/conceptos-factura-ticket.tpl
Executable file
33
templates/lists/conceptos-factura-ticket.tpl
Executable file
@@ -0,0 +1,33 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #CCCCCC">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50" align="center"> </th>
|
||||
<th width="50" align="center"><div align="center">Cant.</div></th>
|
||||
<th width="100" align="center"><div align="center">Unid.</div></th>
|
||||
<th width="50" align="center"><div align="center">ID.</div></th>
|
||||
<th width="300" align="center"><div align="center">Descripción</div></th>
|
||||
<th width="100" align="center"><div align="center">V. Unitario</div></th>
|
||||
<th width="100" align="center"><div align="center">Importe</div></th>
|
||||
<th width="50" align="center"><div align="center">E. Iva</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{foreach from=$conceptos item=concepto key=key}
|
||||
<tr id="conceptoDiv{$key}">
|
||||
<td id="conceptoBaseUserId{$key}" align="center" valign="top">{$key}</td>
|
||||
<td align="center" valign="top">{$concepto.cantidad|number_format:2:".":","}</td>
|
||||
<td align="center" valign="top">{$concepto.unidad}</td>
|
||||
<td align="center" valign="top">{$concepto.noIdentificacion}</td>
|
||||
<td style="font-family:'Courier New', Courier, monospace; text-align:justify" valign="top">{$concepto.descripcion|nl2br}</td>
|
||||
<td align="center" valign="top">{$concepto.valorUnitario|number_format:2:".":","}</td>
|
||||
<td align="center" valign="top">{$concepto.importe|number_format:2:".":","}</td>
|
||||
<td align="center" valign="top">{$concepto.excentoIva}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="8" align="center">Ningún concepto encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
39
templates/lists/conceptos-facturacion.tpl
Executable file
39
templates/lists/conceptos-facturacion.tpl
Executable file
@@ -0,0 +1,39 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #CCCCCC">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50" align="center"> </th>
|
||||
<th width="50" align="center"><div align="center">Cant.</div></th>
|
||||
<th width="100" align="center"><div align="center">Unid.</div></th>
|
||||
<th width="50" align="center"><div align="center">ID.</div></th>
|
||||
<th width="300" align="center"><div align="center">Descripción</div></th>
|
||||
<th width="100" align="center"><div align="center">V. Unitario</div></th>
|
||||
<th width="100" align="center"><div align="center">Importe</div></th>
|
||||
<th width="50" align="center"><div align="center">E. Iva</div></th>
|
||||
<th width="50" align="center"><div align="center">Acción</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{foreach from=$conceptos item=concepto key=key}
|
||||
<tr id="conceptoDiv{$key}">
|
||||
<td id="conceptoBaseUserId{$key}" align="center" valign="top">{$key}</td>
|
||||
<td align="center" valign="top">{$concepto.cantidad|number_format:2:".":","}</td>
|
||||
<td align="center" valign="top">{$concepto.unidad}</td>
|
||||
<td align="center" valign="top">{$concepto.noIdentificacion}</td>
|
||||
<td style="font-family:'Courier New', Courier, monospace; text-align:justify" valign="top">{$concepto.descripcion|nl2br}</td>
|
||||
<td align="center" valign="top">{$concepto.valorUnitario|number_format:2:".":","}</td>
|
||||
<td align="center" valign="top">{$concepto.importe|number_format:2:".":","}</td>
|
||||
<td align="center" valign="top">{$concepto.excentoIva}</td>
|
||||
<td align="center" valign="top">
|
||||
<a href="javascript:void(0)" onclick="BorrarConcepto({$key})" title="Eliminar">
|
||||
<img src="{$WEB_ROOT}/images/icons/action_delete.gif" border="0" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="9" align="center">Ningún concepto encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
38
templates/lists/conceptos.tpl
Executable file
38
templates/lists/conceptos.tpl
Executable file
@@ -0,0 +1,38 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="boxTblC" style="border-top:1px solid #CCCCCC">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="90" align="center" height="30">Desc.</th>
|
||||
<th width="" align="center">Descripción</th>
|
||||
<th width="50" align="center" height="30">Cant.</th>
|
||||
<th width="90" align="center">P. Unit.</th>
|
||||
<th width="90" align="center">Total</th>
|
||||
<th width="20" align="center"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$conceptos item=item key=key}
|
||||
<tr>
|
||||
<td align="center">{$item.descuento}</td>
|
||||
<td align="left">
|
||||
{$item.name}
|
||||
{if $item.promocionId}
|
||||
<br />
|
||||
Promoción: {$item.promocion}
|
||||
{/if}
|
||||
</td>
|
||||
<td align="center">{$item.cantidad}</td>
|
||||
<td align="center">{$item.precio|number_format:2:".":","}</td>
|
||||
<td align="center">{$item.total|number_format:2:".":","}</td>
|
||||
<td align="center">
|
||||
<a href="javascript:void(0)" onclick="DeleteProduct({$item.productoId})">
|
||||
<img src="{$WEB_ROOT}/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="6" align="center">Ningún producto encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
16
templates/lists/conciliaciones.tpl
Executable file
16
templates/lists/conciliaciones.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/conciliaciones-header.tpl" clase="Off"}
|
||||
|
||||
{if count($pedidos.items)}
|
||||
{foreach from=$pedidos.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/conciliaciones-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/conciliaciones-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="7" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$pedidos.pages colspan=11}
|
||||
16
templates/lists/conjunto-tallas.tpl
Executable file
16
templates/lists/conjunto-tallas.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/conjunto-tallas-header.tpl" clase="Off"}
|
||||
|
||||
{if count($conjuntos.items)}
|
||||
{foreach from=$conjuntos.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/conjunto-tallas-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/conjunto-tallas-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="4" align="center">No se encontraron registros.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$conjuntos.pages colspan=4}
|
||||
26
templates/lists/conjunto-valores.tpl
Executable file
26
templates/lists/conjunto-valores.tpl
Executable file
@@ -0,0 +1,26 @@
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td align="center" height=""><div align="center">Talla</div></td>
|
||||
<td align="center" width="80"> </td>
|
||||
</tr>
|
||||
{foreach from=$conTallas item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">
|
||||
<div align="center">
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumTallasCon.tpl"}
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)">
|
||||
<img src="{$WEB_ROOT}/images/icons/action_delete.gif" title="Eliminar" onclick="DelTalla({$key})" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="2" align="center" height="40"><div align="center">Ningun registro encontrado.</div></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
16
templates/lists/cuentas-bancarias.tpl
Executable file
16
templates/lists/cuentas-bancarias.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-bancarias-header.tpl" clase="Off"}
|
||||
|
||||
{if count($cuentasBancarias.items)}
|
||||
{foreach from=$cuentasBancarias.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-bancarias-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-bancarias-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="4" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$cuentasBancarias.pages colspan=4}
|
||||
6
templates/lists/cuentas-facturas.tpl
Executable file
6
templates/lists/cuentas-facturas.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="subTbl">
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-facturas-header.tpl"}
|
||||
<tbody>
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-facturas-base.tpl"}
|
||||
</tbody>
|
||||
</table>
|
||||
6
templates/lists/cuentas-notas.tpl
Executable file
6
templates/lists/cuentas-notas.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="subTbl">
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-notas-header.tpl"}
|
||||
<tbody>
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-notas-base.tpl"}
|
||||
</tbody>
|
||||
</table>
|
||||
30
templates/lists/cuentas-pagar-saldos.tpl
Executable file
30
templates/lists/cuentas-pagar-saldos.tpl
Executable file
@@ -0,0 +1,30 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-saldos-header.tpl" clase="Off"}
|
||||
|
||||
{if count($proveedores.items)}
|
||||
{foreach from=$proveedores.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-saldos-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-saldos-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{if $tipo == "search"}
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"><div align="center"><b>TOTAL</b></div></td>
|
||||
<td align="center"><div align="center"><b>${$total|number_format:2:'.':','}</b></div></td>
|
||||
<td align="center"><div align="center"><b>${$totalAbonos|number_format:2:'.':','}</b></div></td>
|
||||
<td align="center"><div align="center"><b>${$totalSaldoActual|number_format:2:'.':','}</b></div></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{else}
|
||||
<tr><td colspan="12" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$proveedores.pages colspan=12}
|
||||
36
templates/lists/cuentas-pagar.tpl
Executable file
36
templates/lists/cuentas-pagar.tpl
Executable file
@@ -0,0 +1,36 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-header.tpl" clase="Off"}
|
||||
|
||||
{if count($cuentasPagar.items)}
|
||||
{foreach from=$cuentasPagar.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{if $tipo == "search"}
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"><b>TOTALES</b></td>
|
||||
<td align="center"><b>${$info.total|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalAbonos|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalNotas|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalDesc|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalBonif|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalDev|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalSaldo|number_format:2:'.':','}</b></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{else}
|
||||
<tr><td colspan="13" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$cuentasPagar.pages colspan=13}
|
||||
28
templates/lists/cuentas-pagar2.tpl
Executable file
28
templates/lists/cuentas-pagar2.tpl
Executable file
@@ -0,0 +1,28 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-header2.tpl" clase="Off"}
|
||||
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-base2.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagar-base2.tpl" clase="On"}
|
||||
{/if}
|
||||
|
||||
{foreachelse}
|
||||
<tr><td colspan="9" align="center">Ningún registro encontrado.</td>
|
||||
{/foreach}
|
||||
|
||||
{if $tipo == "search" && $proveedores|count > 0}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center"><b>TOTALES</b></td>
|
||||
<td align="center"><b>${$info.total|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalAbonos|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalNotas|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalDesc|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalBonif|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalDev|number_format:2:'.':','}</b></td>
|
||||
<td align="center"><b>${$info.totalSaldo|number_format:2:'.':','}</b></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{/if}
|
||||
6
templates/lists/cuentas-pagos-prov.tpl
Executable file
6
templates/lists/cuentas-pagos-prov.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="subTbl">
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagos-prov-header.tpl"}
|
||||
<tbody>
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagos-prov-base.tpl"}
|
||||
</tbody>
|
||||
</table>
|
||||
6
templates/lists/cuentas-pagos.tpl
Executable file
6
templates/lists/cuentas-pagos.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="subTbl">
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagos-header.tpl"}
|
||||
<tbody>
|
||||
{include file="{$DOC_ROOT}/templates/items/cuentas-pagos-base.tpl"}
|
||||
</tbody>
|
||||
</table>
|
||||
16
templates/lists/datos-generales.tpl
Executable file
16
templates/lists/datos-generales.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/datos-generales-header.tpl" clase="Off"}
|
||||
|
||||
{if count($empresaRfcs)}
|
||||
{foreach from=$empresaRfcs item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/datos-generales-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/datos-generales-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="5" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$pages colspan=5}
|
||||
16
templates/lists/descuentos.tpl
Executable file
16
templates/lists/descuentos.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/descuentos-header.tpl" clase="Off"}
|
||||
|
||||
{if count($ventas.items)}
|
||||
{foreach from=$ventas.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/descuentos-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/descuentos-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$ventas.pages colspan=8}
|
||||
16
templates/lists/devoluciones-cedis.tpl
Executable file
16
templates/lists/devoluciones-cedis.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/devoluciones-cedis-header.tpl" clase="Off"}
|
||||
|
||||
{if count($devoluciones.items)}
|
||||
{foreach from=$devoluciones.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/devoluciones-cedis-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/devoluciones-cedis-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$devoluciones.pages colspan=8}
|
||||
16
templates/lists/devoluciones.tpl
Executable file
16
templates/lists/devoluciones.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/devoluciones-header.tpl" clase="Off"}
|
||||
|
||||
{if count($devoluciones.items)}
|
||||
{foreach from=$devoluciones.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/devoluciones-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/devoluciones-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$devoluciones.pages colspan=8}
|
||||
17
templates/lists/enumAplicarPromo.tpl
Executable file
17
templates/lists/enumAplicarPromo.tpl
Executable file
@@ -0,0 +1,17 @@
|
||||
<select name="aplica" id="aplica" class="largeInput" onchange="ShowInputsAplica()">
|
||||
<option value="">Seleccione</option>
|
||||
{if $tipo == "AxB"}
|
||||
<option value="XxY" {if $info.aplica == "XxY"}selected{/if}>Compra X Prods. al Precio de Y por Producto.</option>
|
||||
<option value="N1Desc" {if $info.aplica == "N1Desc"}selected{/if}>Compra N Prods. y N+1 aplica un Descuento</option>
|
||||
{elseif $tipo == "TotalVentaB"}
|
||||
<option value="CompraX" {if $info.aplica == "CompraX"}selected{/if}>Compra $x y Regala B</option>
|
||||
{*}
|
||||
<option value="CompraXabonoM" {if $info.aplica == "CompraXabonoM"}selected{/if}>Compra $x y Abona % a Monedero</option>
|
||||
{*}
|
||||
{elseif $tipo == "CompraX"}
|
||||
<option value="DescCuenta" {if $info.aplica == "DescCuenta"}selected{/if}>Descuento por toda la Cuenta</option>
|
||||
<option value="ArtConDesc" {if $info.aplica == "ArtConDesc"}selected{/if}>Artículos después de $x con Descuento</option>
|
||||
{elseif $tipo == "BuenFin"}
|
||||
<option value="3x2" {if $info.aplica == "3x2"}selected{/if}>3 x 2</option>
|
||||
{/if}
|
||||
</select>
|
||||
12
templates/lists/enumAtributos.tpl
Executable file
12
templates/lists/enumAtributos.tpl
Executable file
@@ -0,0 +1,12 @@
|
||||
{foreach from=$atributos item=item key=key}
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">{$item.nombre}:</div>
|
||||
{foreach from=$item.valores item=itm key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="atrib[{$item.atributoId}]" id="atrib_{$itm.atribValId}" value="{$itm.atribValId}" {if $itm.exist == "1"}checked{/if} />
|
||||
{$itm.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
{/foreach}
|
||||
6
templates/lists/enumColorVta.tpl
Executable file
6
templates/lists/enumColorVta.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="colorId2" id="colorId2" class="largeInput" style="width:210px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$colores item=item key=key}
|
||||
<option value="{$item.atribValId}">{$item.nombre|truncate:25:'...'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
9
templates/lists/enumColores2.tpl
Executable file
9
templates/lists/enumColores2.tpl
Executable file
@@ -0,0 +1,9 @@
|
||||
<div style="width:120px;float:left">* Colores:</div>
|
||||
<div style="width:320px;float:left">
|
||||
</div>
|
||||
{foreach from=$p.colores item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="colores[{$k}][{$item.atribValId}]" id="color_{$k}_{$item.atribValId}" value="{$item.atribValId}" onclick="LoadBarCodes({$k})" {if $item.checked == '1'}checked{/if} />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
9
templates/lists/enumColores3.tpl
Executable file
9
templates/lists/enumColores3.tpl
Executable file
@@ -0,0 +1,9 @@
|
||||
<div style="width:120px;float:left">Colores:</div>
|
||||
<div style="width:320px;float:left">
|
||||
</div>
|
||||
{foreach from=$p.colores item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="colores[{$k}][{$item.atribValId}]" id="color_{$k}_{$item.atribValId}" value="{$item.atribValId}" onclick="LoadBarCodes({$k})" {if $item.checked == '1'}checked{/if} disabled="disabled" />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
5
templates/lists/enumConTallas.tpl
Executable file
5
templates/lists/enumConTallas.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="conTallaId" id="conTallaId"class="largeInput" style="width:300px" onchange="LoadTallas()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$conTallas item=item key=key}
|
||||
<option value="{$item.conTallaId}" {if $item.conTallaId == $info.conTallaId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
8
templates/lists/enumCtasBancarias.tpl
Executable file
8
templates/lists/enumCtasBancarias.tpl
Executable file
@@ -0,0 +1,8 @@
|
||||
<select name="cuentaBancariaId" id="cuentaBancariaId" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$ctasBancarias item=item key=key}
|
||||
<option value="{$item.cuentaBancariaId}" {if $info.cuentaBancariaId == $item.cuentaBancariaId}selected{/if}>
|
||||
{$item.banco} - {$item.noCuenta}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
5
templates/lists/enumDesctosPromo.tpl
Executable file
5
templates/lists/enumDesctosPromo.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="tipoDesc" id="tipoDesc" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Cantidad" {if $info.tipoDesc == "Cantidad"}selected{/if}>Cantidad Fija</option>
|
||||
<option value="Porcentaje" {if $info.tipoDesc == "Porcentaje"}selected{/if}>Porcentaje</option>
|
||||
</select>
|
||||
6
templates/lists/enumMatProd.tpl
Executable file
6
templates/lists/enumMatProd.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="materialId[{$key}]" id="materialId_{$key}" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$materiales item=itm key=key}
|
||||
<option value="{$itm.materialId}" {if $item.materialId == $itm.materialId}selected{/if}>{$itm.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumMateriales.tpl
Executable file
6
templates/lists/enumMateriales.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="materialId" id="materialId" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$materiales item=item key=key}
|
||||
<option value="{$item.materialId}" {if $info.materialId == $item.materialId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
5
templates/lists/enumMetodoCompra.tpl
Executable file
5
templates/lists/enumMetodoCompra.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="metodoCompra" id="metodoCompra" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="conIva" {if $info.metodoCompra == "conIva"}selected{/if}>IVA Incluido</option>
|
||||
<option value="sinIva" {if $info.metodoCompra == "sinIva"}selected{/if}>IVA No Incluido</option>
|
||||
</select>
|
||||
6
templates/lists/enumMetodosPago.tpl
Executable file
6
templates/lists/enumMetodosPago.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="metodoPagoId" id="metodoPagoId" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$metodosPago item=item key=key}
|
||||
<option value="{$item.metodoPagoId}" {if $info.metodoPagoId == $item.metodoPagoId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumModelos.tpl
Executable file
6
templates/lists/enumModelos.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="productoId" id="productoId" class="largeInput" style="width:300px" onchange="LoadAtributos()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<option value="{$item.productoId}" {if $info.productoId == $item.productoId}selected{/if}>{$item.modelo}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumMotivos.tpl
Executable file
6
templates/lists/enumMotivos.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="motivoId" id="motivoId" class="largeInput" style="width:300px" onchange="ShowOtroMotivo()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$motivos item=item key=key}
|
||||
<option value="{$item.motivoId}" {if $info.motivoId == $item.motivoId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
7
templates/lists/enumPlazo.tpl
Executable file
7
templates/lists/enumPlazo.tpl
Executable file
@@ -0,0 +1,7 @@
|
||||
<select name="plazo" id="plazo" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="15" {if $post.plazo == "15"}selected{/if}>15</option>
|
||||
<option value="30" {if $post.plazo == "30"}selected{/if}>30</option>
|
||||
<option value="45" {if $post.plazo == "45"}selected{/if}>45</option>
|
||||
<option value="60" {if $post.plazo == "60"}selected{/if}>60</option>
|
||||
</select>
|
||||
6
templates/lists/enumProdCat.tpl
Executable file
6
templates/lists/enumProdCat.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodCatId" id="prodCatId" class="largeInput" style="width:300px" onchange="LoadSubcats()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$categorias item=item key=key}
|
||||
<option value="{$item.prodCatId}" {if $info.prodCatId == $item.prodCatId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
4
templates/lists/enumProdCatPromo.tpl
Executable file
4
templates/lists/enumProdCatPromo.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
{foreach from=$categorias item=item key=key}
|
||||
<input type="checkbox" name="idProdCat[]" value="{$item.prodCatId}" {if $item.checked}checked{/if}>{$item.nombre}</option>
|
||||
<br />
|
||||
{/foreach}
|
||||
6
templates/lists/enumProdCatSearch.tpl
Executable file
6
templates/lists/enumProdCatSearch.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="idProdCat" id="idProdCat" class="largeInput wide2">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$categorias item=item key=key}
|
||||
<option value="{$item.prodCatId}" {if $info.prodCatId == $item.prodCatId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdCatVta.tpl
Executable file
6
templates/lists/enumProdCatVta.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodCatId2" id="prodCatId2" class="largeInput" style="width:210px" onchange="LoadSubcats()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$categorias item=item key=key}
|
||||
<option value="{$item.prodCatId}">{$item.nombre|truncate:25:'...'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdPedidos.tpl
Executable file
6
templates/lists/enumProdPedidos.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="productoId[{$k}]" id="productoId_{$k}" class="largeInput" style="width:300px" onchange="LoadAtributos({$k})">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<option value="{$item.productoId}" {if $p.productoId == $item.productoId}selected{/if}>{$item.descripcion}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
4
templates/lists/enumProdPromo.tpl
Executable file
4
templates/lists/enumProdPromo.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
{foreach from=$productos item=item key=key}
|
||||
<input type="checkbox" name="idProducto[]" value="{$item.productoId}" {if $item.checked}checked{/if} >{$item.descripcion|truncate:250:"..."}
|
||||
<br />
|
||||
{/foreach}
|
||||
8
templates/lists/enumProdReg.tpl
Executable file
8
templates/lists/enumProdReg.tpl
Executable file
@@ -0,0 +1,8 @@
|
||||
<select name="prodId" id="prodId" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$prods item=item key=key}
|
||||
<option value="{$item.productoId}" {if $info.productoId == $item.productoId}selected{/if}>
|
||||
{$item.modelo|truncate:80:'...'}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdSubcat.tpl
Executable file
6
templates/lists/enumProdSubcat.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:300px" onchange="LoadAtributos()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<option value="{$item.prodSubcatId}" {if $info.prodSubcatId == $item.prodSubcatId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdSubcat2.tpl
Executable file
6
templates/lists/enumProdSubcat2.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:200px">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<option value="{$item.prodSubcatId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdSubcat3.tpl
Executable file
6
templates/lists/enumProdSubcat3.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="smallInput" style="width:200px">
|
||||
<option value="">Todas</option>
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<option value="{$item.prodSubcatId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdSubcatPed.tpl
Executable file
6
templates/lists/enumProdSubcatPed.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:300px" onchange="LoadModelos()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<option value="{$item.prodSubcatId}" {if $info.prodSubcatId == $item.prodSubcatId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
4
templates/lists/enumProdSubcatPromo.tpl
Executable file
4
templates/lists/enumProdSubcatPromo.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<input type="checkbox" name="idProdSubcat[]" value="{$item.prodSubcatId}" {if $item.checked}checked{/if}>{$item.nombre}</option>
|
||||
<br />
|
||||
{/foreach}
|
||||
6
templates/lists/enumProdSubcatSearch.tpl
Executable file
6
templates/lists/enumProdSubcatSearch.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodSubcatId2" id="prodSubcatId2" class="smallInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<option value="{$item.prodSubcatId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProdSubcatVta.tpl
Executable file
6
templates/lists/enumProdSubcatVta.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="prodSubcatId2" id="prodSubcatId2" class="largeInput" style="width:210px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$subcategorias item=item key=key}
|
||||
<option value="{$item.prodSubcatId}">{$item.nombre|truncate:25:'...'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
24
templates/lists/enumProdVta.tpl
Executable file
24
templates/lists/enumProdVta.tpl
Executable file
@@ -0,0 +1,24 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="80" align="center" height="30"><b>DISP.</b></td>
|
||||
<td width="100"align="center"><b>P. U.</td>
|
||||
<td width="" align="center"><b>DESCRIPCION</b></td>
|
||||
<td width="20"></td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.disponible}</td>
|
||||
<td align="center">{$item.precioVentaIva}</td>
|
||||
<td align="left">{$item.nombre|upper}</td>
|
||||
<td align="center">
|
||||
<a href="javascript:void(0)" onclick="UpdateInfoProdB({$item.productoId})">
|
||||
<img src="{$WEB_ROOT}/images/icons/add.png" border="0" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="4" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
6
templates/lists/enumProductos.tpl
Executable file
6
templates/lists/enumProductos.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="productoId" id="productoId" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<option value="{$item.productoId}" {if $info.productoId == $item.productoId}selected{/if}>{$item.descripcion}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
5
templates/lists/enumPromoAplicar.tpl
Executable file
5
templates/lists/enumPromoAplicar.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="aplicaTodos" id="aplicaTodos" class="largeInput" onchange="ShowProducts()">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="1" {if $info.aplicaTodos == "1"}selected{/if}>Sí</option>
|
||||
<option value="0" {if $info.aplicaTodos == "0"}selected{/if}>No</option>
|
||||
</select>
|
||||
6
templates/lists/enumProvPedidos.tpl
Executable file
6
templates/lists/enumProvPedidos.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="proveedorId" id="proveedorId" class="largeInput" style="width:300px" onchange="LoadModelos()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<option value="{$item.proveedorId}" {if $info.proveedorId == $item.proveedorId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
4
templates/lists/enumProvPromo.tpl
Executable file
4
templates/lists/enumProvPromo.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<input type="checkbox" name="idProveedor[]" value="{$item.proveedorId}" {if $item.checked}checked{/if}/>{$item.nombre}
|
||||
<br />
|
||||
{/foreach}
|
||||
6
templates/lists/enumProvVta.tpl
Executable file
6
templates/lists/enumProvVta.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:210px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<option value="{$item.proveedorId}">{$item.nombre|truncate:25:'...'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumProveedores.tpl
Executable file
6
templates/lists/enumProveedores.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="proveedorId" id="proveedorId" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<option value="{$item.proveedorId}" {if $info.proveedorId == $item.proveedorId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
10
templates/lists/enumStatusMon.tpl
Executable file
10
templates/lists/enumStatusMon.tpl
Executable file
@@ -0,0 +1,10 @@
|
||||
<select name="status" id="status" class="largeInput" style="width:690px">
|
||||
<option value="">Seleccione</option>
|
||||
{if $info.tipo == "Tarjeta"}
|
||||
<option value="Vendido" {if $info.status == "Vendido"}selected{/if}>Vendido</option>
|
||||
<option value="Disponible" {if $info.status == "Disponible"}selected{/if}>Disponible</option>
|
||||
{elseif $info.tipo == "Monedero"}
|
||||
<option value="Activo" {if $info.status == "Activo"}selected{/if}>Activo</option>
|
||||
{/if}
|
||||
<option value="Inactivo" {if $info.status == "Inactivo"}selected{/if}>Inactivo</option>
|
||||
</select>
|
||||
5
templates/lists/enumStatusPromo.tpl
Executable file
5
templates/lists/enumStatusPromo.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="status" id="status" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Activo" {if $info.status == "Activo"}selected{/if}>Activo</option>
|
||||
<option value="Inactivo" {if $info.status == "Inactivo"}selected{/if}>Inactivo</option>
|
||||
</select>
|
||||
6
templates/lists/enumSucEnvD.tpl
Executable file
6
templates/lists/enumSucEnvD.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}" {if $info.sucursalId2 == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumSucEnvO.tpl
Executable file
6
templates/lists/enumSucEnvO.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<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>
|
||||
6
templates/lists/enumSucEnvios.tpl
Executable file
6
templates/lists/enumSucEnvios.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="sucursalId" id="sucursalId" class="largeInput" style="width:300px" onchange="LoadOrdenesCompra()">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}" {if $post.sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
4
templates/lists/enumSucPromo.tpl
Executable file
4
templates/lists/enumSucPromo.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<input type="checkbox" name="idSucursal[]" value="{$item.sucursalId}" {if $item.checked}checked{/if} />{$item.nombre}
|
||||
<br />
|
||||
{/foreach}
|
||||
6
templates/lists/enumSucursales.tpl
Executable file
6
templates/lists/enumSucursales.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<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 $post.sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
6
templates/lists/enumTallaVta.tpl
Executable file
6
templates/lists/enumTallaVta.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="tallaId2" id="tallaId2" class="largeInput" style="width:210px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$tallas item=item key=key}
|
||||
<option value="{$item.atribValId}">{$item.nombre|truncate:25:'...'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
9
templates/lists/enumTallas2.tpl
Executable file
9
templates/lists/enumTallas2.tpl
Executable file
@@ -0,0 +1,9 @@
|
||||
<div style="width:120px;float:left">* Tallas:</div>
|
||||
<div style="width:320px;float:left">
|
||||
</div>
|
||||
{foreach from=$p.tallas item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="tallas[{$k}][{$item.atribValId}]" id="talla_{$k}_{$item.atribValId}" onclick="LoadBarCodes({$k})" value="{$item.atribValId}" {if $item.checked == '1'}checked{/if} />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
9
templates/lists/enumTallas3.tpl
Executable file
9
templates/lists/enumTallas3.tpl
Executable file
@@ -0,0 +1,9 @@
|
||||
<div style="width:120px;float:left">Tallas:</div>
|
||||
<div style="width:320px;float:left">
|
||||
</div>
|
||||
{foreach from=$p.tallas item=item key=key}
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="tallas[{$k}][{$item.atribValId}]" id="talla_{$k}_{$item.atribValId}" onclick="LoadBarCodes({$k})" value="{$item.atribValId}" {if $item.checked == '1'}checked{/if} disabled="disabled" />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div style="clear:both"></div>
|
||||
5
templates/lists/enumTallasCon.tpl
Executable file
5
templates/lists/enumTallasCon.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="tallaIds[]" id="tallaId[]" class="smallInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$tallas item=it key=k}
|
||||
<option value="{$it.atribValId}" {if $item.tallaId == $it.atribValId}selected{/if}>{$it.nombre}</option>
|
||||
{/foreach}
|
||||
5
templates/lists/enumTallasProd.tpl
Executable file
5
templates/lists/enumTallasProd.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
{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}" />{$item.nombre}
|
||||
</div>
|
||||
{/foreach}
|
||||
6
templates/lists/enumTemporadas.tpl
Executable file
6
templates/lists/enumTemporadas.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<select name="temporadaId" id="temporadaId" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$temporadas item=item key=key}
|
||||
<option value="{$item.temporadaId}" {if $info.temporadaId == $item.temporadaId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
9
templates/lists/enumTipoMonedero.tpl
Executable file
9
templates/lists/enumTipoMonedero.tpl
Executable file
@@ -0,0 +1,9 @@
|
||||
{if $modo == "search"}
|
||||
<select name="tipo2" id="tipo2" class="largeInput">
|
||||
{else}
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:690px" onchange="ShowStatusMon()">
|
||||
{/if}
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Monedero">Monedero</option>
|
||||
<option value="Tarjeta">Tarjeta</option>
|
||||
</select>
|
||||
7
templates/lists/enumTiposPromo.tpl
Executable file
7
templates/lists/enumTiposPromo.tpl
Executable file
@@ -0,0 +1,7 @@
|
||||
<select name="tipo" id="tipo" class="largeInput" onchange="LoadAplica()">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="AxB" {if $info.tipo == "AxB"}selected{/if}>A x B</option>
|
||||
<option value="TotalVentaB" {if $info.tipo == "TotalVentaB"}selected{/if}>Total Venta x B</option>
|
||||
<option value="CompraX" {if $info.tipo == "CompraX"}selected{/if}>Compra $x</option>
|
||||
<option value="BuenFin" {if $info.tipo == "BuenFin"}selected{/if}>Buen Fin</option>
|
||||
</select>
|
||||
14
templates/lists/enumUserTypes.tpl
Executable file
14
templates/lists/enumUserTypes.tpl
Executable file
@@ -0,0 +1,14 @@
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:300px" onchange="CheckTipo()">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="admin" {if $info.type == "admin"}selected="selected"{/if}>Administrador</option>
|
||||
<option value="centralizador" {if $info.type == "centralizador"}selected="selected"{/if}>Centralizador</option>
|
||||
<option value="cajero" {if $info.type == "cajero"}selected="selected"{/if}>Cajero</option>
|
||||
<option value="almacen" {if $info.type == "almacen"}selected="selected"{/if}>CEDIS</option>
|
||||
<option value="compras" {if $info.type == "compras"}selected="selected"{/if}>Compras</option>
|
||||
<option value="direccion" {if $info.type == "direccion"}selected="selected"{/if}>Dirección</option>
|
||||
<option value="facturacion" {if $info.type == "facturacion"}selected="selected"{/if}>Facturación</option>
|
||||
<option value="gerente" {if $info.type == "gerente"}selected="selected"{/if}>Gerente</option>
|
||||
<option value="subgerente" {if $info.type == "subgerente"}selected="selected"{/if}>Subgerente</option>
|
||||
<option value="supervisor" {if $info.type == "supervisor"}selected="selected"{/if}>Supervisor</option>
|
||||
<option value="vendedor" {if $info.type == "vendedor"}selected="selected"{/if}>Vendedor</option>
|
||||
</select>
|
||||
14
templates/lists/enumUserTypes2.tpl
Executable file
14
templates/lists/enumUserTypes2.tpl
Executable file
@@ -0,0 +1,14 @@
|
||||
<select name="tipo2" id="tipo2" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="admin">Administrador</option>
|
||||
<option value="centralizador">Centralizador</option>
|
||||
<option value="cajero">Cajero</option>
|
||||
<option value="almacen">CEDIS</option>
|
||||
<option value="compras">Compras</option>
|
||||
<option value="direccion">Dirección</option>
|
||||
<option value="facturacion">Facturación</option>
|
||||
<option value="gerente">Gerente</option>
|
||||
<option value="subgerente">Subgerente</option>
|
||||
<option value="supervisor">Supervisor</option>
|
||||
<option value="vendedor">Vendedor</option>
|
||||
</select>
|
||||
8
templates/lists/enumUsers.tpl
Executable file
8
templates/lists/enumUsers.tpl
Executable file
@@ -0,0 +1,8 @@
|
||||
<select name="usuarioId2" id="usuarioId2" class="smallInput">
|
||||
{if $Usr.type != "cajero"}
|
||||
<option value="">Todos</option>
|
||||
{/if}
|
||||
{foreach from=$usuarios item=item key=key}
|
||||
<option value="{$item.usuarioId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
5
templates/lists/enumVigenciaPromo.tpl
Executable file
5
templates/lists/enumVigenciaPromo.tpl
Executable file
@@ -0,0 +1,5 @@
|
||||
<select name="vigencia" id="vigencia" class="largeInput" onchange="ShowCalendars()">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Permanente" {if $info.vigencia == "Permanente"}selected{/if}>Permanente</option>
|
||||
<option value="Periodo" {if $info.vigencia == "Periodo"}selected{/if}>Por Periodo</option>
|
||||
</select>
|
||||
58
templates/lists/envios-ordenes-comp.tpl
Executable file
58
templates/lists/envios-ordenes-comp.tpl
Executable file
@@ -0,0 +1,58 @@
|
||||
|
||||
<div align="center"><b>{$nomSuc}</b></div>
|
||||
<br />
|
||||
<table width="850" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="100" align="center" height="30"><b>No. de Proveedor</b></td>
|
||||
<td width="" align="center"><b>Nombre del Proveedor</b></td>
|
||||
<td width="110" align="center"><b>No. Orden de Compra</b></td>
|
||||
<td width="110" align="center"><b>Cantidad de Prendas/Paq.</b></td>
|
||||
<td width="110" align="center"><b>Valor</b></td>
|
||||
<td width="110" align="center"><b>No. de Cajas</b></td>
|
||||
<td width="50" align="center"></td>
|
||||
</tr>
|
||||
{foreach from=$ordenes item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.noProv}</td>
|
||||
<td align="center">{$item.proveedor}</td>
|
||||
<td align="center">{$item.noPedido}</td>
|
||||
<td align="center">{$item.prendas}</td>
|
||||
<td align="center">${$item.total}</td>
|
||||
<td align="center">
|
||||
<input type="text" name="noCajas_{$item.pedidoId}" id="noCajas_{$item.pedidoId}" value="{$item.cajas}" class="smallInput" style="width:90px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="idPedido[]" id="" value="{$item.pedidoId}" checked="checked" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<br />
|
||||
<div align="center"><b>Total de Cajas: {$item.cajas}</b></div>
|
||||
<br />
|
||||
<table width="90%" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#CCCCCC" width="150"><b>Código Barra</b></td>
|
||||
<td align="center" bgcolor="#CCCCCC"><b>Modelo</b></td>
|
||||
<td align="center" bgcolor="#CCCCCC" width="120"><b>Cantidad</b></td>
|
||||
</tr>
|
||||
{foreach from=$item.productos item=it key=k}
|
||||
<tr>
|
||||
<td align="center">{$it.codigoBarra}</td>
|
||||
<td align="center">{$it.modelo}</td>
|
||||
<td align="center">{$it.cantidad}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr><td colspan="3" align="center">Ningún producto encontrado.</td></tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="7" align="center" height="30">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
49
templates/lists/envios-ordenes-comp2.tpl
Executable file
49
templates/lists/envios-ordenes-comp2.tpl
Executable file
@@ -0,0 +1,49 @@
|
||||
|
||||
<div align="center"><b>{$info.sucursal}</b></div>
|
||||
<br />
|
||||
<table width="850" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="100" align="center" height="30"><b>No. de Proveedor</b></td>
|
||||
<td width="" align="center"><b>Nombre del Proveedor</b></td>
|
||||
<td width="110" align="center"><b>No. Orden de Compra</b></td>
|
||||
<td width="110" align="center"><b>Cantidad de Prendas</b></td>
|
||||
<td width="110" align="center"><b>Valor</b></td>
|
||||
<td width="110" align="center"><b>No. de Cajas</b></td>
|
||||
</tr>
|
||||
{foreach from=$ordenes item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.noProv}</td>
|
||||
<td align="center">{$item.proveedor}</td>
|
||||
<td align="center">{$item.noPedido}</td>
|
||||
<td align="center">{$item.prendas}</td>
|
||||
<td align="center">${$item.total}</td>
|
||||
<td align="center">{$item.noCajas}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<br />
|
||||
<table width="90%" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#CCCCCC" width="150"><b>Código Barra</b></td>
|
||||
<td align="center" bgcolor="#CCCCCC"><b>Modelo</b></td>
|
||||
<td align="center" bgcolor="#CCCCCC" width="120"><b>Cantidad</b></td>
|
||||
</tr>
|
||||
{foreach from=$item.productos item=it key=k}
|
||||
<tr>
|
||||
<td align="center">{$it.codigoBarra}</td>
|
||||
<td align="center">{$it.modelo}</td>
|
||||
<td align="center">{$it.cantidad}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr><td colspan="3" align="center">Ningún producto encontrado.</td></tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="6" align="center" height="30">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
16
templates/lists/envios-productos-recibidos.tpl
Executable file
16
templates/lists/envios-productos-recibidos.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-productos-recibidos-header.tpl" clase="Off"}
|
||||
|
||||
{if count($productos.items)}
|
||||
{foreach from=$productos.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-productos-recibidos-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-productos-recibidos-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="10" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$productos.pages colspan=10}
|
||||
36
templates/lists/envios-recibir-mercancia.tpl
Executable file
36
templates/lists/envios-recibir-mercancia.tpl
Executable file
@@ -0,0 +1,36 @@
|
||||
<form name="frmRecibir" id="frmRecibir">
|
||||
<input type="hidden" name="type" id="type" value="recibirMercancia" />
|
||||
<input type="hidden" name="envioId" id="envioId" value="{$info.envioId}" />
|
||||
<table width="850" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="100" align="center" height="30"><b>No. Orden de Compra</b></td>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center"><b>Modelo</b></td>
|
||||
<td width="60" align="center"><b>No. <br /> Cajas</b></td>
|
||||
<td width="100" align="center"><b>No. Prendas Enviadas</b></td>
|
||||
<td width="100" align="center"><b>No. de Prendas Recibidas</b></td>
|
||||
<td width="100" align="center"><b>Faltantes</b></td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.noPedido}</td>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="center">{$item.modelo}</td>
|
||||
<td align="center">{$item.cajas}</td>
|
||||
<td align="center">{$item.cantPrendas}</td>
|
||||
<td align="center">
|
||||
<input type="text" name="cantPrendas_{$item.pedidoId}_{$item.productoId}" id="cantPrendas_{$item.pedidoId}_{$item.productoId}" class="smallInput" style="width:80px" onblur="UpdateFaltantes({$item.pedidoId},{$item.productoId})" value="{$item.cantPrendas}" readonly="readonly" />
|
||||
<input type="hidden" name="noPrendasEnv_{$item.pedidoId}_{$item.productoId}" id="noPrendasEnv_{$item.pedidoId}_{$item.productoId}" value="{$item.cantPrendas}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="faltantes_{$item.pedidoId}_{$item.productoId}" id="faltantes_{$item.pedidoId}_{$item.productoId}" class="smallInput" style="width:80px;background-color:#DBDBDB" readonly="readonly" value="0" />
|
||||
<input type="hidden" name="idProds[]" value="{$item.pedidoId}_{$item.productoId}" />
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="7" align="center" height="30">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</form>
|
||||
29
templates/lists/envios-recibir-mercancia2.tpl
Executable file
29
templates/lists/envios-recibir-mercancia2.tpl
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
<div align="center"><b>{$info.sucursal}</b></div>
|
||||
<br />
|
||||
<table width="850" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="100" align="center" height="30"><b>No. Orden de Compra</b></td>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center"><b>Modelo</b></td>
|
||||
<td width="60" align="center"><b>No. <br /> Cajas</b></td>
|
||||
<td width="130" align="center"><b>No. de Prendas.</b></td>
|
||||
<td width="110" align="center"><b>Completo</b></td>
|
||||
<td width="130" align="center"><b>Faltantes</b></td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.noPedido}</td>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="center">{$item.modelo}</td>
|
||||
<td align="center">{$item.cajas}</td>
|
||||
<td align="center">{$item.noPrendas}</td>
|
||||
<td align="center">{if $item.completo == 1}Sí{else}No{/if}</td>
|
||||
<td align="center">{$item.faltantes}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="7" align="center" height="30">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
36
templates/lists/envios-reporte.tpl
Executable file
36
templates/lists/envios-reporte.tpl
Executable file
@@ -0,0 +1,36 @@
|
||||
<table width="60%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<tr>
|
||||
<td align="center"><b>SUC. DESTINO</b></td>
|
||||
<td align="center"><b>FECHA RECIBIDO</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">{$nomSuc}</td>
|
||||
<td align="center">{$fechaRec|date_format:"%d-%m-%Y"}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-reporte-header.tpl" clase="Off"}
|
||||
|
||||
{if count($productos)}
|
||||
{foreach from=$productos item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-reporte-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-reporte-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"><b>TOTALES</b></td>
|
||||
<td align="center"><b>{$cantTotal|number_format:0:'.':','}</b></td>
|
||||
<td align="center"></td>
|
||||
<td align="right"><b>${$impTotal|number_format:2:'.':','}</b></td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr><td colspan="9" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$productos.pages colspan=9}
|
||||
47
templates/lists/envios-tienda-cedis.tpl
Executable file
47
templates/lists/envios-tienda-cedis.tpl
Executable file
@@ -0,0 +1,47 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
{foreach from=$proveedores item=item key=key}
|
||||
<tr><th colspan="7" align="left">{$provInfo.$key.nombreProveedor}</th></tr>
|
||||
<tr>
|
||||
<th>PedidoId</th>
|
||||
<th>Sucursal</th>
|
||||
<th>Descripcion</th>
|
||||
<th>Piezas</th>
|
||||
<th>Total</th>
|
||||
<th>Fecha</th>
|
||||
<th>Accion</th>
|
||||
</tr>
|
||||
{foreach from=$envios.items item=item2 key=key2}
|
||||
{if $item.proveedorId == $item2.proveedorId}
|
||||
<tr>
|
||||
<td>{$item2.pedidoId}</td>
|
||||
<td>{$item2.nombreSucursal}</td>
|
||||
<td>{$item2.nombreProducto}</td>
|
||||
<td>{$item2.cantidadProd}</td>
|
||||
<td>${$item2.total}</td>
|
||||
<td>{$item2.fecha}</td>
|
||||
<td>
|
||||
{if $item2.status == "Pendiente" && $Usr.type == "gerente"}
|
||||
<img src="{$WEB_ROOT}/images/icons/ok.png" style="cursor:pointer" class="spanEnviar" border="0"
|
||||
id="{$item2.envioDevolucionId}" title="Producto Enviado"/>
|
||||
{/if}
|
||||
{if $item2.status == "Enviado" && $Usr.type == "almacen"}
|
||||
<img src="{$WEB_ROOT}/images/icons/ok.png" style="cursor:pointer" class="spanAdd" border="0"
|
||||
id="{$item2.envioDevolucionId}" title="Producto Recibido"/>
|
||||
{/if}
|
||||
{if $item2.status == "Pendiente" && $Usr.type == "almacen"}
|
||||
Pendiente de Envio a Cedis
|
||||
{/if}
|
||||
{if $item2.status == "Enviado" && $Usr.type == "gerente"}
|
||||
Enviado el: {$item2.fechaRecibido}
|
||||
{/if}
|
||||
{if $item2.status == "Autorizado"}
|
||||
Recibido el: {$item2.fechaRecibido}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{foreachelse}
|
||||
<tr><td align="center">No se encontraron resultados</td></tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
26
templates/lists/envios-tienda-prods.tpl
Executable file
26
templates/lists/envios-tienda-prods.tpl
Executable file
@@ -0,0 +1,26 @@
|
||||
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center" height="30"><b>Producto</b></td>
|
||||
<td width="80" align="center"><b>Disponible</b></td>
|
||||
<td width="100" align="center"><b>Cantidad</b></td>
|
||||
<td width="30" align="center"> </td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="left" height="30">{$item.nombre}</td>
|
||||
<td align="center">{$item.disponible}</td>
|
||||
<td align="center">
|
||||
<input type="text" name="cantidad_{$item.prodItemId}" class="smallInput" style="width:80px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="idProds[]" value="{$item.prodItemId}" />
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="5" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
25
templates/lists/envios-tienda-prods2.tpl
Executable file
25
templates/lists/envios-tienda-prods2.tpl
Executable file
@@ -0,0 +1,25 @@
|
||||
<hr />
|
||||
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center" height="30"><b>Producto</b></td>
|
||||
<td width="100" align="center"><b>Cantidad</b></td>
|
||||
<td width="30" align="center"> </td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="left" height="30">{$item.nombre}</td>
|
||||
<td align="center">{$item.cantidad}</td>
|
||||
<td align="center">
|
||||
<a href="javascript:void(0)" onclick="DeleteProducto({$key})" title="Eliminar">
|
||||
<img src="{$WEB_ROOT}/images/icons/cancel2.png" border="0" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="4" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
19
templates/lists/envios-tienda-prods3.tpl
Executable file
19
templates/lists/envios-tienda-prods3.tpl
Executable file
@@ -0,0 +1,19 @@
|
||||
<hr />
|
||||
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center" height="30"><b>Producto</b></td>
|
||||
<td width="100" align="center"><b>Cantidad</b></td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="left" height="30">{$item.nombre}</td>
|
||||
<td align="center">{$item.cantidad}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
23
templates/lists/envios-tienda-prods4.tpl
Executable file
23
templates/lists/envios-tienda-prods4.tpl
Executable file
@@ -0,0 +1,23 @@
|
||||
<hr />
|
||||
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center" height="30"><b>Producto</b></td>
|
||||
<td width="100" align="center"><b>Cantidad</b></td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="left" height="30">{$item.nombre}</td>
|
||||
<td align="center">
|
||||
<input type="text" name="cantidad_{$item.envProdId}" value="{$item.cantidad}" class="smallInput" style="width:80px" readonly="readonly" />
|
||||
<input type="hidden" name="idEnvProds[]" value="{$item.envProdId}" />
|
||||
<input type="hidden" name="idProdItem_{$item.envProdId}" value="{$item.prodItemId}" />
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
19
templates/lists/envios-tienda-prods5.tpl
Executable file
19
templates/lists/envios-tienda-prods5.tpl
Executable file
@@ -0,0 +1,19 @@
|
||||
<hr />
|
||||
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
||||
<td width="" align="center" height="30"><b>Producto</b></td>
|
||||
<td width="100" align="center"><b>Cantidad</b></td>
|
||||
</tr>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="center" height="30">{$item.codigoBarra}</td>
|
||||
<td align="left" height="30">{$item.nombre}</td>
|
||||
<td align="center">{$item.recibido}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
16
templates/lists/envios-tienda.tpl
Executable file
16
templates/lists/envios-tienda.tpl
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-header.tpl" clase="Off"}
|
||||
|
||||
{if count($envios.items)}
|
||||
{foreach from=$envios.items item=item key=key}
|
||||
{if $key%2 == 0}
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-tienda-base.tpl" clase="Off"}
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/items/envios-tienda-base.tpl" clase="On"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td colspan="9" align="center">Ningún registro encontrado.</td>
|
||||
{/if}
|
||||
|
||||
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$envios.pages colspan=9}
|
||||
45
templates/lists/envios-transito.tpl
Executable file
45
templates/lists/envios-transito.tpl
Executable file
@@ -0,0 +1,45 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<td align="right" colspan="6" style="border-top:none;">
|
||||
<a href="#" onclick="ExportGral(); return false;">
|
||||
<img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="150" scope="col"><div align="center">Sucursal</div></th>
|
||||
<th width="200" scope="col"><div align="center">Proveedor</div></th>
|
||||
<th width="" scope="col"><div align="center">Producto</div></th>
|
||||
<th width="110" scope="col"><div align="center">Cantidad</div></th>
|
||||
<th width="80" scope="col"><div align="center">No. Envío</div></th>
|
||||
<th width="100" scope="col"><div align="center">Fecha</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$productos item=item key=key}
|
||||
<tr>
|
||||
<td align="left">{$item.sucursal}</td>
|
||||
<td align="left">{$item.proveedor}</td>
|
||||
<td align="left">{$item.codigoBarra}<br />{$item.modelo}</td>
|
||||
<td align="center">{$item.cantidad|number_format:0:'.':','}</td>
|
||||
<td align="center">{$item.envioId}</td>
|
||||
<td align="center">{$item.fecha|date_format:"%d-%m-%Y %H:%M:%S"}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr><td colspan="6" align="center">Ningún registro encontrado.</td></tr>
|
||||
{/foreach}
|
||||
|
||||
{if $productos|count > 0}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><b>TOTAL</b></td>
|
||||
<td align="center"><b>{$cantTotal|number_format:0:'.':','}</b></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
</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