{% extends "base.html" %} {% block title %}Tickets de Gasto{% endblock %} {% block page_title %}Tickets de Gasto{% endblock %} {% block topbar_actions %} Nuevo ticket {% endblock %} {% block content %}
Gasto total este mes
{{ "%.2f"|format(total_mes) }} €
{{ mes_actual }}
IVA soportado este mes
{{ "%.2f"|format(total_iva) }} €
Deducible
Total tickets
{{ tickets|length }}
Todos los períodos
{% if tickets %}
{% for t in tickets %} {% endfor %}
Fecha Concepto Proveedor / Lugar Categoría Pago Base IVA Total Archivo Acciones
{{ t.fecha }} {{ t.concepto }} {{ t.proveedor or '—' }} {% if t.cat_nombre %} {{ t.cat_nombre }} {% else %} {% endif %} {{ t.metodo_pago | capitalize }} {{ "%.2f"|format(t.base) }} € {% if t.iva_pct > 0 %}{{ t.iva_pct|int }}% · {{ "%.2f"|format(t.iva_importe) }} €{% else %}—{% endif %} {{ "%.2f"|format(t.importe) }} € {% if t.archivo_path %} {% else %} {% endif %}
TOTAL {{ "%.2f"|format(tickets|sum(attribute='base')) }} € {{ "%.2f"|format(tickets|sum(attribute='iva_importe')) }} € {{ "%.2f"|format(tickets|sum(attribute='importe')) }} €
{% else %}

No hay tickets registrados

Registra gastos menores sin factura formal: parking, restaurantes, material de oficina...

Registrar primer ticket
{% endif %} {% endblock %}