{% set acceso = permisos(modulo=id_modulo("accounting"), usuario=usuario.id) %} {% extends "base.html" %} {% block contenido %} {% set status_value = (registro.status or 'draft') %} {% set status_badge = 'bg-secondary' %} {% if status_value == 'submitted' %} {% set status_badge = 'bg-success' %} {% elif status_value == 'rejected' %} {% set status_badge = 'bg-danger' %} {% elif status_value == 'cancelled' %} {% set status_badge = 'bg-dark' %} {% endif %}
{{ registro.entity or '' }}
{{ registro.date or '' }}
{{ ', '.join(selected_books) if selected_books else '-' }}
{{ creator_nickname or '' }}
{{ _(status_value) }}
{{ registro.reference or '' }}
{{ registro.memo or '' }}
{{ currency_label or '-' }}
| {{ _('No.') }} | {{ _('Cuenta') }} | {{ _('Centro de costos') }} | {{ _('Tercero') }} | {{ _('Debe') }} | {{ _('Haber') }} | {{ _('Acciones') }} |
|---|---|---|---|---|---|---|
| {{ linea.order }} | {{ linea.account_label or linea.account }} | {{ linea.cost_center_label or linea.cost_center or '-' }} | {{ linea.third_code or '-' }} | {{ '%.2f'|format(linea.value if linea.value and linea.value > 0 else 0) }} | {{ '%.2f'|format(-linea.value if linea.value and linea.value < 0 else 0) }} |
|
-
-
-
-
-
-
-
-
- / -
0.00
0.00
{{ _('No') }}
-