|
|
@@ -46,16 +46,16 @@
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
- {% for movimiento in movimientos %}
|
|
|
+ {% for movimiento in movimientos_con_saldo %}
|
|
|
<tr class="{% cycle 'fila-impar' 'fila-par' %}">
|
|
|
- <td>{{ movimiento.fecha|date:"Y-m-d H:i" }}</td>
|
|
|
- <td>{{ movimiento.descripcion }}</td>
|
|
|
- <td>{{ movimiento.cuenta_origen }}</td>
|
|
|
- <td>{{ movimiento.cuenta_destino }}</td>
|
|
|
- {% if movimiento.tipo == 'Ingreso' %}
|
|
|
- <td style="color: green" class="text-end">{{ movimiento.monto|formato_numero:2 }}</td>
|
|
|
+ <td>{{ movimiento.movimiento.fecha|date:"Y-m-d H:i" }}</td>
|
|
|
+ <td>{{ movimiento.movimiento.descripcion }}</td>
|
|
|
+ <td>{{ movimiento.movimiento.cuenta_origen }}</td>
|
|
|
+ <td>{{ movimiento.movimiento.cuenta_destino }}</td>
|
|
|
+ {% if movimiento.movimiento.tipo == 'Ingreso' %}
|
|
|
+ <td style="color: green" class="text-end">{{ movimiento.movimiento.monto|formato_numero:2 }}</td>
|
|
|
{% else %}
|
|
|
- <td style="color: red" class="text-end">-{{ movimiento.monto|formato_numero:2 }}</td>
|
|
|
+ <td style="color: red" class="text-end">-{{ movimiento.movimiento.monto|formato_numero:2 }}</td>
|
|
|
{% endif %}
|
|
|
<td class="text-end">{{ movimiento.saldo_acumulado|formato_numero:2 }}</td>
|
|
|
</tr>
|