{% extends "base.html" %} {% block title %}My Orders — Farmer{% endblock %} {% block content %}

Your Customer Orders

Below are all orders placed for your products.

{% for order, item, product, buyer in orders %} {% endfor %}
Order ID Buyer Product Qty Subtotal Status Change Status
{{ order.id }} {{ buyer.name }} {{ product.name }} {{ item.quantity }} £{{ '%.2f'|format(item.subtotal) }} {{ order.status }}
{% endblock %}