{% 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 › Stock requests
New stock request
{% if rows %}
{% for row in rows %} {% with sr=row.sr %} {% endwith %} {% endfor %}
Request # Date Location Formulation Container Containers/subject Items Allocated Status
{{ sr.request_identifier }} {{ sr.request_datetime|date:"d-M-Y" }} {{ sr.location }} {{ sr.formulation }} {{ sr.container }} {{ sr.containers_per_subject }} {{ row.total|default:"0" }} {% if row.total > 0 and row.allocated == row.total %} {{ row.allocated }} {% elif row.allocated > 0 %} {{ row.allocated }} {% else %} {{ row.allocated }} {% endif %} {% if sr.cancel %} Cancelled {% elif row.total == 0 %} New {% elif row.allocated == row.total %} Allocated {% else %} Open {% endif %} Manage
{% else %}

No stock requests yet. Click New stock request to start.

{% endif %}
{% endblock main %}