{% extends "base.html" %} {% block title %}{{ sop[2] }} - WSU Lab Management System{% endblock %} {% block extra_styles %} {% endblock %} {% block content %}
← Back to SOPs
{% if sop[7] == 'approved' %}
{% endif %} {% if sop[7] == 'submitted' or sop[7] == 'approved' %} Download .md {% endif %}

{{ sop[2] }}

Course: {{ sop[3] }}
Owner: {{ sop[5] }}
Status: {% if sop[7] == 'draft' %}📝 Draft {% elif sop[7] == 'submitted' %}⏳ Pending Approval {% elif sop[7] == 'approved' %}✅ Approved {% endif %}
Version: {{ sop[8] }}.{{ sop[9] }}
{% if sop[7] == 'draft' %} {% if comments %}

📝 Internal Comments

{% for comment in comments %}
{{ comment[3] }} ({{ comment[4] }})
{{ comment[6] }}
{{ comment[5] }}
{% endfor %}
{% endif %} {% endif %} {% if sop[7] == 'submitted' %} {% if diff_html %}

Changes from Approved Version {{ sop[11] }}.{{ sop[12] }}

{{ diff_html|safe }}
{% endif %}

Full Procedure

{% for section_name in standard_sections %} {% if sections.get(section_name, '').strip() %} {% if section_name == 'Reagent list' and chemical_safety_available and reagent_chemicals|length > 0 %}

{{ section_name }}

{% for c in reagent_chemicals %} {% if c.is_error is defined %} {% else %} {% endif %} {% endfor %}
Name Formula & Mass Particularly Hazardous Hazardous Waste Disposal Other Concerns Pictograms
{{ c.name }} - Error: {{ c.error }} {% if c.details %}
{% for detail in c.details %}
{{ detail }}
{% endfor %}
{% endif %}
{{ c.full_name }}
{% if c.name_difference %}
⚠️ (entered as: {{ c.name }})
{% endif %} {% if c.details %}
{% for detail in c.details %}
{{ detail }}
{% endfor %}
{% endif %}
{% if c.dp_molecule.simple_html %}
{{ c.dp_molecule.simple_html|safe }}

{% endif %} {% if c.dp_molecule and c.dp_molecule.molecular_weight %}
{{ c.dp_molecule.molecular_weight }} g/mol
{% endif %}
{% if c.WSU_particularly_hazardous %} {% if c.WSU_No_GHS %}
No safety information available
{% endif %} {% if c.WSU_highly_acute_toxin %}
Highly acute toxin
{% endif %} {% if c.WSU_reproductive_toxin %}
Reproductive toxin
{% endif %} {% if c.WSU_carcinogen %}
Carcinogen
{% endif %} {% endif %}
{% if c.hazardous_waste %} {{ c.hazardous_waste_info }} {% endif %} {% if c.disposal_info %} {% for i in c.disposal_info %}
{{ i }}
{% endfor %} {% endif %}
{% if c.flammability_class %}
Flammability: {{ c.flammability_class }}
{% endif %} {% if c.peroxide_class %}
Peroxide Class {{ c.peroxide_class }}: {{ c.peroxide_class_info }}
{% endif %}
{% if c.pictograms %}
{% for pictogram in c.pictograms %} {{ pictogram }} {% endfor %}
{% endif %}
{% else %}

{{ section_name }}

{{ sections.get(section_name, '') }}
{% endif %} {% endif %} {% endfor %}

Approval Decision

{% if sop[20] == 1 %}
Major Change Review Status:
{% if not sop[23] or sop[23] == 0 %} 📋 Awaiting faculty review (any Faculty Reviewer or Admin may approve) {% else %} ✓ Faculty approved - Awaiting lab manager final approval {% endif %}
{% endif %}

Approve SOP

{% if sop[20] == 1 and (not sop[23] or sop[23] == 0) %} Faculty reviewers (for major changes) or lab managers/admins {% else %} Lab managers and admins {% endif %}

Send Back to Owner

{% if sop[20] == 1 and (not sop[23] or sop[23] == 0) %} Faculty reviewers (for major changes) or lab managers/admins {% else %} Lab managers and admins {% endif %}

Pull Back to Draft

Owner only - withdraw from approval process

{% endif %} {% if sop[7] == 'approved' %}
{% for section_name in standard_sections %} {% if section_name != 'Lab Description' and approved_sections.get(section_name, '').strip() %} {% if section_name == 'Reagent list' and chemical_safety_available and approved_reagent_chemicals|length > 0 %}

{{ section_name }}

{% for c in approved_reagent_chemicals %} {% if c.is_error is defined %} {% else %} {% endif %} {% endfor %}
Name Formula & Mass Particularly Hazardous Hazardous Waste Disposal Other Concerns Pictograms
{{ c.name }} - Error: {{ c.error }} {% if c.details %}
{% for detail in c.details %}
{{ detail }}
{% endfor %}
{% endif %}
{{ c.full_name }}
{% if c.name_difference %}
⚠️ (entered as: {{ c.name }})
{% endif %} {% if c.details %}
{% for detail in c.details %}
{{ detail }}
{% endfor %}
{% endif %}
{% if c.dp_molecule.simple_html %}
{{ c.dp_molecule.simple_html|safe }}

{% endif %} {% if c.dp_molecule and c.dp_molecule.molecular_weight %}
{{ c.dp_molecule.molecular_weight }} g/mol
{% endif %}
{% if c.WSU_particularly_hazardous %} {% if c.WSU_No_GHS %}
No safety information available
{% endif %} {% if c.WSU_highly_acute_toxin %}
Highly acute toxin
{% endif %} {% if c.WSU_reproductive_toxin %}
Reproductive toxin
{% endif %} {% if c.WSU_carcinogen %}
Carcinogen
{% endif %} {% endif %}
{% if c.hazardous_waste %} {{ c.hazardous_waste_info }} {% endif %} {% if c.disposal_info %} {% for i in c.disposal_info %}
{{ i }}
{% endfor %} {% endif %}
{% if c.flammability_class %}
Flammability: {{ c.flammability_class }}
{% endif %} {% if c.peroxide_class %}
Peroxide Class {{ c.peroxide_class }}: {{ c.peroxide_class_info }}
{% endif %}
{% if c.pictograms %}
{% for pictogram in c.pictograms %} {{ pictogram }} {% endfor %}
{% endif %}
{% else %}

{{ section_name }}

{{ approved_sections.get(section_name, '') }}
{% endif %} {% endif %} {% endfor %}
Approved Version: {{ sop[11] }}.{{ sop[12] }}
{% if sop[22] %} Approved: {{ sop[18] }} by {{ sop[22] }}
{% else %} Approved: {{ sop[18] }}
{% endif %} {% if sop[28] %} Faculty Review: version {{ sop[29] }}.{{ sop[30] }} by {{ sop[28] }} {% else %} No faculty review recorded {% endif %}
{% endif %} {% endblock %}