{% extends "base.html" %} {% block title %}SOPs - WSU Lab Management System{% endblock %} {% block content %} ← Back to Home

Standard Operating Procedures (SOPs)

Create New SOP
{% if drafts %}

📝 Drafts

{% for sop in drafts %} {{ sop[2] }} - {{ sop[3] }}
Version: {{ sop[8] }}.{{ sop[9] }} | Owner: {{ sop[5] }} | Created: {{ sop[15] }}
{% endfor %}
{% endif %} {% if pending %}

⏳ Pending Approval

{% for sop in pending %} {{ sop[2] }} - {{ sop[3] }}
Version: {{ sop[8] }}.{{ sop[9] }} | Owner: {{ sop[5] }} | Submitted: {{ sop[17] }}
{% if sop[20] == 1 and sop[21] == 0 %}
📋 Awaiting faculty review
{% elif sop[20] == 1 and sop[21] == 1 %}
📋 Awaiting lab manager review (faculty review complete)
{% else %}
📋 Awaiting lab manager review
{% endif %}
{% endfor %}
{% endif %} {% if courses %}

✅ Approved SOPs by Course

{% for course, sops in courses.items() %}

{{ course }}

{% for sop in sops %} {{ sop[2] }}
Version: {{ sop[11] }}.{{ sop[12] }} | Owner: {{ sop[5] }} | Approved: {{ sop[18] }}
{% endfor %}
{% endfor %} {% endif %} {% if not drafts and not pending and not courses %}

No SOPs yet. Create your first SOP above!

{% endif %} {% endblock %}