{% 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 purchase

{{ 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 }}

{% endif %}
Customer

{{ order.customer.get_full_name|default:order.customer.username }}

{{ order.customer.email }}

Delivery contact

{{ order.contact_phone }}

{{ order.delivery_address|linebreaksbr }}

Order date{{ order.created_at|date:'d M Y' }}
Order status{{ order.get_status_display }}
Payment{% if payment_verified %}Verified{% else %}Not verified{% endif %}

{% if payment_verified %}PAYMENT VERIFIED{% else %}AWAITING VERIFIED PAYMENT{% endif %}

{% for item in items %}{% endfor %}
Item / specificationQtyUnitAmount
{{ item.product_name }}
{{ item.size }} · {{ item.paper }}
{{ item.quantity }}₦{{ item.unit_price|floatformat:2 }}₦{{ item.line_total|floatformat:2 }}
Items subtotal₦{{ order.subtotal|floatformat:2 }}
Delivery included₦{{ order.delivery_total|floatformat:2 }}
CurrencyNGN
Order total₦{{ order.grand_total|floatformat:2 }}
{% if payment_ref %}

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 %}
Customer notes

{{ order.notes|linebreaksbr }}

{% endif %}

This reflects the order and recorded payment-verification state. It is not a separate tax invoice, tax determination, or bank-generated receipt.

{% endblock %}