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,50 @@
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
{foreach from=$sucursales item=item key=key}
{if count($item.proveedores) > 0}
<thead>
<tr>
<th><b>{($item.nombre|utf8_decode)|urldecode}</b></th>
<th width="90" align="center"><div style="float:right"><a href="javascript:void(0)" id="showHide{$item.sucursalId}" onclick="ShowDesc({$item.sucursalId})">[+]</a></div></th>
</tr>
</thead>
<tbody id="totales{$item.sucursalId}" style="display:none">
<tr>
<td colspan="2">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<th width="80" style="text-align:center"><b>No. Prov.</b></th>
<th style="text-align:center"><b>Proveedor</b></th>
<th width="100" style="text-align:center"><b>Productos Vendidos</b></th>
<th width="100" style="text-align:center"><b>Costo Total</b></th>
</tr>
{foreach from=$item.proveedores item=it1 key=k1}
<tr>
<td style="text-align:center;">{$it1.proveedorId}</td>
<td style="text-align:left;">{$it1.nombre}</td>
<td style="text-align:center;">{$it1.totalProds}</td>
<td style="text-align:right;">{$it1.totalCosto|number_format:2:'.':','}</td>
</tr>
{/foreach}
<tr>
<td id="alinear"></td>
<td id="alinear"><b>TOTAL</b></td>
<td id="alinear"><b>{$item.totalProds|number_format:0:'.':','}</b></td>
<td style="text-align:right"><b>${$item.totalCosto|number_format:2:'.':','}</b></td>
</tr>
</table>
</td>
</tr>
</tbody>
{/if}
{/foreach}
</table>
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
<tr>
<th width="83" style="text-align:center"></th>
<th style="text-align:center"><b>TOTAL GRAL.</b></th>
<th width="100" style="text-align:center"><b>{$totales.prods|number_format:0:'.':','}</b></th>
<th width="105" style="text-align:right"><b>{$totales.costo|number_format:2:'.':','}</b></th>
</tr>
</table>