{% extends "base.html" %}
{% block contenido %}
{% import "macros.html" as macros %}
{%- if TESTING -%}
{%- endif -%}
Datos generales de la factura
| Campo | Valor |
| Número de Documento | {{ registro.document_no or "" }} |
| Compañía | {{ registro.company or "" }} |
| Fecha | {{ registro.posting_date or "" }} |
| Estado | {{ macros.document_status_for("sales_invoice", registro, detail=True) }} |
Datos del cliente y montos
| Campo | Valor |
| Cliente | {{ registro.customer_name or registro.customer_id or "" }} |
| Total | {{ registro.grand_total or "" }} |
| Saldo Pendiente | {{ registro.outstanding_amount or "" }} |
{% if registro.sales_order_id %}
| Orden de Venta |
{{ registro.sales_order_id }} |
{% endif %}
{% if registro.delivery_note_id %}
| Nota de Entrega |
{{ registro.delivery_note_id }} |
{% endif %}
{{ macros.lineas_tabla_lectura(items) }}
{{ macros.document_flow_trace("sales_invoice", registro) }}
{% endblock %}