{% load static %} Order Management {% include "sidebar/sidebar.html" %}
{% 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 Medicine Details Mobile 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 ApprovedHoldRejectApprovedNot ApprovedHoldRejectApprovedNot ApprovedHoldRejectApprovedPending