{% load static %} {{ role }} {% include "sidebar/sidebar.html" %}
Total Hospital
{{tot_hospital}}
Total Pharmacies
{{tot_pharmacy}}
Medicine Qty
{{tot_medicine}}
Pending Request
{{tot_req_orders}}

Medicine Need

{% if all_data %} {% for data in all_data %} {% if data.doc_status == 2 %} {% elif data.doc_status == 1 %} {% elif data.doc_status == 3 %} {% else %} {% endif %} {% if data.rmsd_status == 2 %} {% elif data.rmsd_status == 1 %} {% elif data.rmsd_status == 3 %} {% else %} {% endif %} {% if data.cmsd_status == 2 %} {% elif data.cmsd_status == 1 %} {% elif data.cmsd_status == 3 %} {% else %} {% endif %} {% if data.doc_status == 2 and data.rmsd_status == 2 and data.cmsd_status == 2%} {% else %} {% endif %} {% endfor %} {% else %} There are no records in the system {% endif %}
Order No. Hospital Mobile Medicine Details Qty Priority Order Date Doc Status RMSD Status CMSD Status Status Action
{{data.id}} {{data.med_hospital_name}} {{data.mobile}} {{data.medicine}} {{data.qty}} {{data.priority}} {{data.date}} ApprovedNot AprroveHoldRejectApprovedNot AprroveHoldRejectApprovedNot AprroveHoldRejectApprovedPending