{% extends "base.html" %} {% block title %}Facturas emitidas{% endblock %} {% block page_title %}Facturas emitidas{% endblock %} {% block topbar_actions %} Nueva factura {% endblock %} {% block content %} {% set totales_dict = {} %} {% for t in totales %}{% set _ = totales_dict.update({t.estado: t}) %}{% endfor %}
| Número | Cliente | Fecha | Vencimiento | Estado | Total | |
|---|---|---|---|---|---|---|
|
{{ f.numero }}
{% if f.etiquetas %}
{% for tag in f.etiquetas.split(',') %}{% set t = tag.strip() %}{% if t %}
{{ t }}
{% endif %}{% endfor %}
{% endif %}
|
{{ f.cliente_nombre or '—' }} | {{ f.fecha }} | {{ f.fecha_vencimiento or '—' }} | {{ f.estado|capitalize }} | {{ "%.2f"|format(f.total) }} € | |
| Sin facturas | ||||||