{% extends 'base.html' %} {% block title %}Libro Diario{% endblock %} {% block content %}

Libro Diario

Todos los asientos contables registrados.

Asiento manual
{% with msgs = get_flashed_messages(with_categories=true) %} {% for cat, msg in msgs %}
{{ msg }}
{% endfor %} {% endwith %}
{% if asientos %}
{% for a in asientos %} {% set t = totales.get(a.id, {}) %} {% endfor %}
Número Fecha Descripción Origen Debe Haber
{{ a.numero }} {{ a.fecha }} {{ a.descripcion }} {{ a.tipo_origen.replace('_',' ') }} {{ "%.2f €"|format(t.get('debe',0)) }} {{ "%.2f €"|format(t.get('haber',0)) }}
{% else %}

No hay asientos para el período seleccionado.

Nuevo asiento manual
{% endif %} {% endblock %}