{% extends "base.html" %} {% block title %}Dashboard - IT Asset Tracker{% endblock %} {% block content %}
{{ stats.total or 0 }}
Total Devices
{{ stats.available or 0 }}
Available
{{ stats.pending or 0 }}
Pending
{{ stats.assigned or 0 }}
Assigned
{{ stats.retired or 0 }}
Retired
{% if pending %}
Pending Pickups ({{ pending|length }})
{% for p in pending[:5] %}
{{ p.asset_tag }} - {{ p.make }} {{ p.model }}
For: {{ p.person_name }}
Pending
{% endfor %}
{% for p in pending[:5] %} {% endfor %}
Asset Tag Device Recipient Staged Action
{{ p.asset_tag }} {{ p.make }} {{ p.model }} {{ p.person_name }} {{ p.created_at[:10] if p.created_at else '-' }} Complete
{% if pending|length > 5 %}

View all {{ pending|length }} pending

{% endif %} {% endif %}
Recent Activity
{% if recent %}
{% for t in recent %} {% endfor %}
Type Device Person Date Status
{{ 'OUT' if t.transaction_type == 'check_out' else 'IN' }} {{ t.asset_tag }} {{ t.person_name }} {{ t.created_at[:10] if t.created_at else '-' }} {{ t.status|capitalize }}
{% else %}

No recent activity

{% endif %}
Quick Actions
{% endblock %}