{# templates/reports/purchase_order.html #} {% extends "pos/base.html" %} {% load static %} {% block title %}Purchase Order{% endblock %} {% block heading %}Purchase Order (Suggestion){% endblock %} {% block stylesheets %} {% endblock %} {% block content %} {# ── Filter form ──────────────────────────────────────────────────────── #}
{# ── Summary pills ───────────────────────────────────────────────────── #}| # | Name | Code | Company | Category | {% if filters.mode == 'sale' %}Sold Qty (Range) | {% else %}Stock Limit | {% endif %}Present Stock | Order Qty | Pur. Price | Est. Cost |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ it.name }}{% if it.member_count > 1 %} {{ it.member_count }} codes{% endif %} | {{ it.product_code }} | {{ it.company_name }} | {{ it.category_name }} | {% if filters.mode == 'sale' %}{{ it.sold_qty|floatformat:2 }} | {% else %}{{ it.stock_limit|floatformat:2 }} | {% endif %}{{ it.present_stock|floatformat:2 }} | {{ it.required_qty|floatformat:2 }} | {{ it.purchase_price|floatformat:2 }} | {{ it.required_cost|floatformat:2 }} |
| Koi item order karne ki zarurat nahi — sab stock theek hy. | ||||||||||
| TOTAL | {{ totals.total_required_qty|floatformat:2 }} | {{ totals.total_required_cost|floatformat:2 }} | ||||||||