{% extends "base.html" %} {% block title %}Abonos a proveedores{% endblock %} {% block page_title %}Abonos a proveedores{% endblock %} {% block content %} {% with msgs = get_flashed_messages(with_categories=true) %} {% for cat, msg in msgs %}
| Número | Proveedor | Fecha | Ref. factura | Total | Estado | |
|---|---|---|---|---|---|---|
| {{ ab.numero }} | {{ ab.prov_nombre or '—' }} | {{ ab.fecha }} | {{ ab.factura_ref or '—' }} | {{ '%.2f'|format(ab.total or 0) }} € | {% if ab.estado == 'pendiente' %} Pendiente {% elif ab.estado == 'enviado' %} Enviado {% elif ab.estado == 'aceptado' %} Aceptado {% else %} Cancelado {% endif %} | |
| No hay abonos{% if estado %} con estado «{{ estado }}»{% endif %}. | ||||||