{% extends 'base.html' %}{% block title %}Order {{ order.order_number }}{% endblock %}{% block breadcrumb %}Track Order{% endblock %}{% block content %}

ORDER {{ order.order_number }}

Order tracking

Created {{ order.created_at|date:'d M Y · H:i' }}

{{ order.get_status_display }}
{% if order.customer_id == user.id %} {% for item in items %}{% if item.latest_revision and item.latest_revision.status == 'pending' and order.status != 'in_production' and order.status != 'ready_for_delivery' and order.status != 'completed' and order.status != 'cancelled' %}
✦
Artwork proof v{{ item.latest_revision.version }} is ready for review

{{ item.product_name }} — confirm this version or request corrections before production.

Review proof
{% endif %}{% endfor %} {% endif %} {% if source_quote %}
GENEZ MARKETPLACE · QUOTED ORDER

Converted from MQ-{{ source_quote.pk|stringformat:'06d' }}

{{ source_quote.conversion_snapshot.partner_name }} · {{ source_quote.conversion_snapshot.listing_title }}

Original quotation

The agreed scope is preserved with this order. Payment verification, artwork approval, production and delivery follow their existing safeguards.

{% endif %} {% if source_project %}

YOUR IDEA → FINISHED PRODUCT

{{ source_project.title }}

Project {{ source_project.reference }} continues through this order’s payment, proof, production and delivery timeline.

Return to project discussion
{% endif %}
01
Order submittedRequest received
02
Payment{% if order.status == 'pending_payment' %}Awaiting verification{% elif order.status == 'cancelled' %}Not applicable{% else %}Verified{% endif %}
03
Production{% if order.status == 'in_production' %}In progress{% else %}Status shown below{% endif %}
04
Delivery{% if order.status == 'completed' %}Delivered{% elif order.status == 'ready_for_delivery' %}In fulfillment{% else %}Not yet completed{% endif %}
{% if order.status == 'cancelled' %}
This order is cancelled. The status below is the official record.
{% endif %}

Production timeline

{% for event in events %}
✓

{{ event.title }}

{{ event.detail|default:'Status updated' }}

{{ event.created_at|date:'d M Y · H:i' }}

{% endfor %}
◉

{{ order.get_status_display }}

Current status

Delivery & shipment tracking

{% if can_dispatch and order.status == 'ready_for_delivery' %}Prepare shipment{% endif %}

Each shipment has its own timeline. An order completes only when every item is confirmed delivered.

{% for sh in shipments %}
{{ sh.tracking_number }}

{{ sh.branch.name }} · {{ sh.shipment_items.count }} item{{ sh.shipment_items.count|pluralize }} · {{ sh.get_status_display }}

Track shipment
{% empty %}

No shipments prepared yet. Production must first pass quality control.

{% endfor %}

Order items, artwork & preflight

{% for item in items %}
{{ item.product_name }}

{{ item.size }} · {{ item.paper }} · Qty {{ item.quantity }}

{% if show_order_amounts %}₦{{ item.line_total|floatformat:2 }}{% endif %}
{% if item.production_days_min and item.production_days_max %}

At order time, estimated production was {{ item.production_days_min }}–{{ item.production_days_max }} working days after artwork approval. Delivery timing is set separately.

{% endif %}{% if item.linked_design_id %}
CREATIVE STUDIO ARTWORK{{ item.design_snapshot.title }}View submitted artwork

Artwork captured at checkout and locked against later changes. Staff must still prepare a production proof.

{% endif %}{% if item.original_preflight %}
Original artwork inspection{{ item.original_preflight.get_status_display }}
    {% for note in item.original_preflight.findings %}
  • {{ note }}
  • {% empty %}
  • Initial file checks passed.
  • {% endfor %}
{% endif %} {% if item.proof_preflight %}
Production proof preflight{{ item.proof_preflight.get_status_display }}
    {% for note in item.proof_preflight.findings %}
  • {{ note }}
  • {% empty %}
  • Available automated checks passed.
  • {% endfor %}
{% if item.proof_preflight.overridden_at %}

Professional review accepted by {{ item.proof_preflight.overridden_by|default:'staff' }} on {{ item.proof_preflight.overridden_at|date:'d M Y H:i' }}.

{% endif %} {% if can_staff and item.proof_preflight.status == 'review' and not item.proof_preflight.overridden_at %}
{% csrf_token %}
{% endif %}
{% elif item.proof_file %}

A preflight report is not available; re-upload the production proof.

{% endif %}
Artwork approval: {{ item.get_proof_status_display }}{% if item.customer_artwork %}Original file{% endif %}{% if item.proof_file %}Review proof{% endif %}
{% if item.latest_revision %}
Proof v{{ item.latest_revision.version }}{{ item.latest_revision.get_status_display }}
{% if item.latest_revision.decision_note %}

Requested changes: {{ item.latest_revision.decision_note }}

{% endif %} {% if order.customer_id == user.id and item.latest_revision.status == 'pending' and order.status != 'in_production' and order.status != 'ready_for_delivery' and order.status != 'completed' and order.status != 'cancelled' %}
{% csrf_token %}
{% csrf_token %}
{% endif %}
Proof revision history ({{ item.proof_revisions.count }} versions)
{% for rev in item.proof_history %}
Version {{ rev.version }}
{{ rev.get_status_display }} · {{ rev.uploaded_at|date:'d M Y H:i' }}{% if rev.reviewed_at %} · Reviewed {{ rev.reviewed_at|date:'d M Y H:i' }}{% endif %}
{% if rev.decision_note %}

{{ rev.decision_note }}

{% endif %}
File
{% endfor %}
{% endif %} {% if can_staff %}
{% csrf_token %}
{% endif %}
{% endfor %}

Messages and feedback

Ask about design proofs, production and delivery in a private order conversation.

Open order messages{% if order.customer_id == user.pk %}
{% csrf_token %}
{% endif %}{% if whatsapp_url and order.customer_id == user.pk %}Continue to messaging{% endif %} {% if order.customer_id == user.pk %}
{% for item in items %} {% if item.shipment_assignment.shipment.status == 'delivered' %} Review {{ item.product_name }} {% endif %}{% endfor %}
{% endif %}
{% endblock %}