Files
ventas_php/templates/lists/analisis-proveedor.tpl

20 lines
802 B
Smarty
Executable File

<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>