{% extends 'ops/base_ops.html' %} {% block title %}Dashboard - IXG Operations{% endblock %} {% block content %}
{{ qc_summary.passed }}
QC Passed
{{ qc_summary.failed }}
QC Failed
{{ active_shipments }}
Active Shipments
{{ open_capas }}
Open CAPAs
Batches by Status
{% for label, count in batches_by_status.items %} {% empty %} {% endfor %}
{{ label }} {{ count }}
No batches yet
Recent Batches
{% for b in recent_batches %} {% empty %} {% endfor %}
ReferenceStatusGradeCreated
{{ b.batch_reference }} {{ b.get_status_display }} {{ b.grade|default:'-' }} {{ b.created_at|date:'d/m/Y' }}
No batches yet
Recent QC Results
{% for r in recent_qc %} {% empty %} {% endfor %}
BatchResultFFA%Date
{{ r.batch.batch_reference }} {% if r.overall_pass %}Pass{% else %}Fail{% endif %} {{ r.ffa_percentage }} {{ r.tested_at|date:'d/m/Y' }}
No QC results yet
Unread Notifications
{% for n in recent_notifications %}
{{ n.title }}

{{ n.message|truncatewords:20 }}

{% empty %}

No unread notifications

{% endfor %}
{% endblock %}