{% extends 'pharmacist_templates/base_template.html'%} {% block page_title %}
Stock Details
{% endblock page_title %} {% block main_content %}
Stock Details
{% include 'pharmacist_templates/alert_messeges.html' %} {% for stock in stocks %} {% if expired %} {% for expire in expired %} {% if stock.drug_name == expire.drug_name %} {% endif %} {% endfor %} {% for expire in expa %} {% if stock.drug_name == expire.drug_name %} {% endif %} {% endfor %} {% endif %} {% endfor %}
No Drug Category Quantiy Expiry Date Action
{{forloop.counter}} {{stock.drug_name}} {{stock.category}} {% if stock.quantity <= stock.reorder_level %}
{{stock.quantity}}
{% else %}{{stock.quantity}} {% endif %}
EXPIRED
{{stock.valid_to}} View
{% endblock %}