{% extends "base.html" %} {% set active_nav = "dashboard" %} {% block title %}Dashboard - LSMC Atlas{% endblock %} {% block content %}

LSMC Atlas

Welcome back, {{ user.email or user.name }}

Track TRFs, shipments, results, and support activity from one operational view.

{% if user.can_write %} New TRF {% endif %} Support Queue
{{ stats.orders_total or 0 }}
Total TRFs
{{ stats.orders_active or 0 }}
Active TRFs
{{ stats.shipments_in_transit or 0 }}
Shipments In Transit
{{ stats.results_ready or 0 }}
Results Ready

Recent TRFs

View All
{% if recent_orders %}
{% for order in recent_orders %} {% endfor %}
TRF Patient Status Created
{{ order.order_number }} {{ order.patient_name or "—" }} {{ order.status }} {{ order.created_at | format_dt(user_preferences) }}
{% else %}
📋

No TRFs yet

{% if user.can_write %} Create Your First TRF {% endif %}
{% endif %}

Quick Actions

{% if user.can_write %} + New TRF + New Shipment {% endif %} View Results {% if user.is_internal %} Scan & Match {% endif %} {% if show_api_docs %}
API Docs ↗ {% endif %}
{% if user.is_internal and pending_exceptions %}

⚠️ Pending Exceptions

View All
{% for exc in pending_exceptions %} {% endfor %}
Barcode Type Issue Since
{{ exc.barcode }} {{ exc.type }} {{ exc.issue }} {{ exc.created_at | format_dt(user_preferences) }} Open Queue
{% endif %}
{% endblock %}