Ver Fonte

Incluyo origen y destino en informe categoria

Celestino Rey há 5 meses atrás
pai
commit
7fbe38ca23
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/templates/informe_categoria.html

+ 4 - 0
src/templates/informe_categoria.html

@@ -38,6 +38,8 @@
                     <tr>
                         <td>Fecha</td>
                         <td>Descripción</td>
+                        <td>Origen</td>
+                        <td>Destino</td>
                         <td class="text-end">Monto (€)</td>
                     </tr>
                 </thead>
@@ -47,6 +49,8 @@
                     <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>
                         {% else %}