{% extends 'auth/dashboard.html' %} {% load static %} {% block content %}
Placed on {{ order.created_at|date:"N j, Y" }} at {{ order.created_at|date:"g:i A" }}
Order Progress
Items Ordered
{% for item in order.items.all %}{{ item.package_name_snapshot }}
{% if item.variety_name_snapshot %}{{ item.variety_name_snapshot }}
{% endif %}{{ item.unit_label_snapshot }} {% if item.manufacturer_name_snapshot %} - {{ item.manufacturer_name_snapshot }}{% endif %}
{{ item.quantity }} x KES {{ item.unit_price_snapshot|floatformat:0 }}
KES {{ item.line_total|floatformat:0 }}
No items found.
{% endfor %}Delivery Information
Location
{{ order.delivery_location|default:"-" }}
Pickup Station
{{ order.pickup_station.name }}{% if order.pickup_station.location %} - {{ order.pickup_station.location }}{% endif %}
Contact Name
{{ order.delivery_contact_name|default:"-" }}
Phone
{{ order.phone_number|default:"-" }}
Field Officer
{{ order.assigned_field_officer.get_full_name }}
Delivery Notes
{{ order.delivery_notes }}
Admin Notes
{{ order.admin_notes }}
Status History
by {{ entry.changed_by.get_full_name }}
{% endif %} {% if entry.note %}"{{ entry.note }}"
{% endif %}Payment Summary
{% if order_payment_entries %}{{ payment.get_method_display }} {% if payment.reference %} - {{ payment.reference }}{% endif %} {% if payment.mpesa_receipt_number %} - {{ payment.mpesa_receipt_number }}{% endif %}
{{ payment.created_at|date:"N j, Y g:i A" }}
No payments recorded yet.
Update Order Status
Assign Field Officer
Record Payment