Primer commit del sistema avantika sin cambios
This commit is contained in:
32
templates/lists/monederos-historial.tpl
Executable file
32
templates/lists/monederos-historial.tpl
Executable file
@@ -0,0 +1,32 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="150" bgcolor="#00CC00"><div align="center">Fecha</div></th>
|
||||
<th width="150" bgcolor="#00CC00"><div align="center">Movimiento</div></th>
|
||||
<th width="150" bgcolor="#00CC00"><div align="center">Cantidad</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$item.historial item=it key=k}
|
||||
<tr>
|
||||
<td align="center">{$it.fecha|date_format:"%d-%m-%Y"}</td>
|
||||
<td align="center">
|
||||
{if $it.tipo == "Devolucion"}
|
||||
Abono por Devolución No. {$it.devolucionId}
|
||||
{elseif $it.tipo == "Inicial"}
|
||||
Saldo Inicial
|
||||
{elseif $it.tipo == "Abono"}
|
||||
Abono por Venta {$it.ventaId}
|
||||
{elseif $it.tipo == "Pago"}
|
||||
Pago por Venta No. {$it.ventaId}
|
||||
{/if}
|
||||
</td>
|
||||
<td align="center">${$it.cantidad|number_format:2:'.':','}</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3" align="center">Ningún movimiento encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user