{% extends 'pharmacist_templates/base_template.html'%} {% load crispy_forms_tags %} {% block page_title %}
Add patient
{% endblock page_title %} {% block main_content %}
{% include 'pharmacist_templates/alert_messeges.html' %}
PATIENT NAME: {{patients.admin.first_name}} {{patients.admin.last_name}}
Stocked Drugs
{% for stoc in drugs %} {% if expired %} {% for expire in expired %} {% if stoc.drug_name == expire.drug_name %} {% endif %} {% endfor %} {% for expire in expa %} {% if stoc.drug_name == expire.drug_name %} {% endif %} {% endfor %} {% endif %} {% endfor %}
No Drug Category Quantiy Date Stocked
{{stoc.id}}   {{stoc.drug_name}}   {{stoc.category}} {{stoc.quantity}}
EXPIRED
{{stoc.valid_to}}
Stocked Drugs
{% for stoc in prescrips %} {% endfor %}
No prescription description
{{forloop.counter}}   {{stoc.prescribe}} {{stoc.description}}
Dispense Drug
{% csrf_token %}
{{form|crispy}}
{% include 'pharmacist_templates/insert_modal.html'%}
{% endblock %}