Primer commit del sistema avantika sin cambios
This commit is contained in:
37
templates/items/reportes-temporada-base.tpl
Executable file
37
templates/items/reportes-temporada-base.tpl
Executable 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ódigo de Barras</b></th>
|
||||
<th>Temporada: <b>{$temp.nombre}</b></th>
|
||||
<th>Nú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}
|
||||
Reference in New Issue
Block a user