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,37 @@
{foreach from=$sucursales item=suc key=kS}
{foreach from=$suc.temporadas item=temp key=kT}
{if count($temp.productos) > 0}
<thead>
<tr style="background:#CCC;text-align:center" >
<th id="alinear" colspan="2"><b>{($suc.nombre|utf8_decode)|urldecode}</b></th>
<th>
<div style="float:right">
<a href="javascript:void(0)" id="showHide{$suc.sucursalId}_{$temp.temporadaId}" onclick="ShowDescT({$suc.sucursalId},{$temp.temporadaId})">[+]</a>
</div>
</th>
</tr>
</thead>
<tbody id="totales{$suc.sucursalId}_{$temp.temporadaId}" style="display:none">
<tr style="background:#E0E5E7;text-align:center">
<th>C&oacute;digo de Barras</b></th>
<th>Temporada: &nbsp;<b>{$temp.nombre}</b></th>
<th>N&uacute;mero de productos vendidos</b></th>
</tr>
{foreach from=$temp.productos item=prod key=kP}
<tr>
<td style="text-align:left;">{$prod.codigoBarra}</td>
<td style="text-align:left;">{$prod.modelo}</td>
<td style="text-align:center;">{$prod.vendidos|number_format:0:'.':','}</td>
</tr>
{/foreach}
<tr>
<td style="text-align:left;"></td>
<td style="text-align:center;"><b>TOTAL</b></td>
<td style="text-align:center;"><b>{$temp.totalVendidos|number_format:0:'.':','}</b></td>
</tr>
</tbody>
{/if}
{/foreach}
{/foreach}