{% extends "base.html" %} {% block title %}Log - IT Asset Tracker{% endblock %} {% block content %}
{% if search or transaction_type or start_date or end_date %} Clear {% endif %}
{% if transactions %}
{% for t in transactions %}
{{ 'CHECK OUT' if t.transaction_type == 'check_out' else 'CHECK IN' }} {{ t.status|capitalize }}
{{ t.asset_tag }} - {{ t.make }} {{ t.model }}
{{ t.person_name }} · {{ t.created_at[:10] if t.created_at else '-' }}
{% endfor %}
{% for t in transactions %} {% endfor %}
Date Type Device Person Status
{{ t.created_at[:10] if t.created_at else '-' }} {{ 'OUT' if t.transaction_type == 'check_out' else 'IN' }} {{ t.asset_tag }} {{ t.person_name }} {{ t.status|capitalize }} View
{% else %}

No transactions found{% if search %} matching your filters{% endif %}.

{% endif %} {% endblock %}