{% extends 'documents/print_base.html' %}
{% block title %}Order Invoice {{ order.order_number }} · GENEZ PRINT{% endblock %}
{% block back_url %}{% url 'order_detail' order.pk %}{% endblock %}
{% block doc_type %}Order Invoice{% endblock %}
{% block doc_ref %}{{ order.order_number }}{% endblock %}
{% block body %}
{% if corporate_link %} {{ corporate_link.quote_snapshot.corporate_name }} · {{ corporate_link.quote_snapshot.reference }} Approved quotation total: ₦{{ corporate_link.quote_snapshot.quote_amount_ngn }} · {{ corporate_link.quote_snapshot.quote_scope }}
{{ order.customer.get_full_name|default:order.customer.username }}
{{ order.customer.email }}
{{ order.contact_phone }}
{{ order.delivery_address|linebreaksbr }}
{% if payment_verified %}PAYMENT VERIFIED{% else %}AWAITING VERIFIED PAYMENT{% endif %}
| Item / specification | Qty | Unit | Amount |
|---|---|---|---|
| {{ item.product_name }} {{ item.size }} · {{ item.paper }} | {{ item.quantity }} | ₦{{ item.unit_price|floatformat:2 }} | ₦{{ item.line_total|floatformat:2 }} |
Verified payment reference: {{ payment_ref }}
{% endif %} {% if corporate_link %}This corporate order uses a negotiated lump-sum quotation. Displayed per-unit rates are rounded; the agreed line total is authoritative.
{% endif %} {% if source_quote %}Marketplace source: quotation MQ-{{ source_quote.pk|stringformat:'06d' }}. Custom quote unit rates may be rounded; agreed line totals and grand total govern.
{% endif %} {% if order.notes %}{{ order.notes|linebreaksbr }}
This reflects the order and recorded payment-verification state. It is not a separate tax invoice, tax determination, or bank-generated receipt.
{% endblock %}