Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

View File

@@ -0,0 +1,74 @@
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
{if count($evaluarPedidos.items)}
{foreach from=$evaluarPedidos.items item=item key=key}
<thead>
<tr>
<th width="60" colspan="10"><b>Proveedor:&nbsp;{$item.proveedor}{*}&nbsp;/Pedido Nume:&nbsp;{$item.pedidoId}{*}</b></th>
</tr>
</thead>
<tbody>
<tr>
<th>Descripcion</th>
<th>Costo</th>
<th>Compra</th>
<th>Disponible</th>
<th>Vendido</th>
<th>% Ventas</th>
<th>% Bonificacion Aplicado</th>
<th>Costo Bonificacion</th>
<th>Costo Devoluci&oacute;n</th>
<th>Acciones</th>
</tr>
{foreach from=$item.productos item=it key=ky}
<tr>
<td>{$it.nombreProducto}</td>
<td>{$it.costo}</td>
<td>{$it.total}</td>
<td>{$it.disponible}</td>
<td>{$it.vendido}</td>
<td>{$it.porcentajeVendido}%</td>
<td>
{if $it.porcentajeAplicado > 0}
{$it.porcentajeAplicado}%
{/if}
</td>
<td>
{if $it.costoBonificacion > 0}
${$it.costoBonificacion}
{/if}
</td>
<td>
{if $it.costoDevolucion > 0}
${$it.costoDevolucion}
{/if}
</td>
<td>
<div align="center">
{*<a href="{$WEB_ROOT}/pedidos-detalles/id/{$item.pedidoId}" title="Ver Detalles">
<img src="{$WEB_ROOT}/images/icons/details.png" border="0"/>
</a>*}
{if $it.tipo eq "Bonificacion"}
<img src="{$WEB_ROOT}/images/icons/add.png" class="spanAdd" border="0"
id="{$it.productoId}##{$it.prodItemId}##{$item.pedidoId}##{$item.proveedorId}##{$it.costo}##{$it.total}##{$it.disponible}##{$it.vendido}##{$it.porcentajeVendido}##{if $it.porcentajeAplicado > 0}{$it.porcentajeAplicado}{else}0{/if}##{if $it.costoBonificacion > 0}{$it.costoBonificacion}{/if}" title="Aplicar Bonificacion"/>
{/if}
{if $it.tipo eq "Devolucion"}
<img src="{$WEB_ROOT}/images/icons/delete.gif" class="spanDelete"
id="{$it.productoId}##{$it.prodItemId}##{$item.pedidoId}##{$item.proveedorId}##{$it.costo}##{$it.total}##{$it.disponible}##{$it.vendido}##{$it.porcentajeVendido}##{if $it.porcentajeAplicado > 0}{$it.porcentajeAplicado}{else}0{/if}##{if $it.costoDevolucion > 0}{$it.costoDevolucion}{/if}"
title="Aplicar Devolucion"/>
{/if}
</div>
</td>
</tr>
{/foreach}
</tbody>
{/foreach}
{else}
<tr><td colspan="11" align="center">Ning&uacute;n registro encontrado.</td>
{/if}
{include file="{$DOC_ROOT}/templates/lists/pages_new.tpl" pages=$evaluarPedidos.pages colspan=11}