|
|
@@ -40,6 +40,7 @@
|
|
|
<th>Descripción</th>
|
|
|
<th class="text-end">Monto (€)</th>
|
|
|
<th class="text-end">Saldo después (€)</th>
|
|
|
+ <th class="text-end">Acciones</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@@ -55,6 +56,17 @@
|
|
|
<td style="color: red" class="text-end">-{{ item.monto|floatformat:2 }}</td>
|
|
|
{% endif %}
|
|
|
<td class="text-end">{{ item.saldo_despues|floatformat:2 }}</td>
|
|
|
+ <td class="edit">
|
|
|
+ <a href="{% url 'editar_movimiento' item.id %}">
|
|
|
+ <i class="bi bi-pencil"></i>
|
|
|
+ </a>
|
|
|
+ <a href="{% url 'eliminar_movimiento' item.id %}" onclick="return confirm('¿Estás seguro de que quieres eliminar este movimiento?');">
|
|
|
+ <i class="bi bi-trash"></i>
|
|
|
+ </a>
|
|
|
+ <a href="{% url 'duplicar_movimiento' item.id %}">
|
|
|
+ <i class="bi bi-files"></i>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
|
</tbody>
|