{% extends "base.html" %} {% block title %}{{ count_session.session_name }} - ScanLook{% endblock %} {% block content %}
← Back to Dashboard

{{ count_session.session_name }}

{{ 'Full Physical' if count_session.session_type == 'full_physical' else 'Cycle Count' }}

Baseline Data

MASTER Baseline
{% if count_session.master_baseline_timestamp %} ✓ Uploaded {{ count_session.master_baseline_timestamp[:16] }} {% else %} ⚠ Not Uploaded {% endif %}
{% if not count_session.master_baseline_timestamp %}
{% endif %}
CURRENT Baseline (Optional)
{% if count_session.current_baseline_timestamp %} ✓ Uploaded {{ count_session.current_baseline_timestamp[:16] }} {% else %} Not Uploaded {% endif %}
{% if count_session.master_baseline_timestamp %}
{% endif %}

Real-Time Statistics

{{ stats.matched or 0 }}
✓ Matched
{{ stats.duplicates or 0 }}
🔵 Duplicates
{{ stats.weight_discrepancy or 0 }}
⚖️ Weight Discrepancy
{{ stats.wrong_location or 0 }}
⚠ Wrong Location
{{ stats.ghost_lots or 0 }}
🟣 Ghost Lots
{{ stats.missing_lots or 0 }}
🔴 Missing
{% if active_counters %}

Active Counters

{% for counter in active_counters %}
{{ counter.full_name[0] }}
{{ counter.full_name }}
📍 {{ counter.location_name }}
{{ counter.start_timestamp[11:16] }}
{% endfor %}
{% endif %} {% if locations %}

Location Progress

{% for loc in locations %} {% endfor %}
Location Status Counter Expected Found Missing
{{ loc.location_name }} {% if loc.status == 'completed' %}✓ Done {% elif loc.status == 'in_progress' %}⏳ Counting {% else %}○ Pending{% endif %} {{ loc.counter_name or '-' }} {{ loc.expected_lots_master }} {{ loc.lots_found }} {{ loc.lots_missing }}
{% endif %}
{% endblock %}