{% extends edc_base_template %} {% load static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block document_ready %} {% endblock %} {% block main %} {{ block.super }}
Edc Pharmacy › Receive
{# ── Pending items ── #} {% if pending_rows %}
Pending items
{% for pr in pending_rows %} {% with oi=pr.order_item %} {% endwith %} {% endfor %}
Order # Item # Product Container Units pending
{{ oi.order.order_identifier }} {{ oi.order_item_identifier }} {{ oi.product.name }} {{ oi.container }} {{ oi.unit_qty_pending }} {% if pr.has_receive %} Receive {% else %} Start receiving {% endif %}
{% endif %} {# ── Orders table ── #} {% if rows %} {% for row in rows %} {% with o=row.order r=row.receive %} {% endwith %} {% endfor %}
Order # Date Supplier Title Status Items ordered Items received
{{ o.order_identifier }} {{ o.order_datetime|date:"d-M-Y" }} {{ o.supplier }} {{ o.title }} {% if o.status == "complete" %} Complete {% elif o.status == "partial" %} Partial {% else %} New {% endif %} {{ o.item_count|default:"—" }} {{ row.receive_item_count }} {% if r %}Manage{% else %}Start receiving{% endif %} Edit
{% else %}

No orders found.

{% endif %}
{% endblock main %}