{% extends 'base.html' %} {% block title %}{{ asset.serial_number }} – IT Asset Management{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}
Asset Details
Type
{{ asset.asset_type }}
Brand
{{ asset.brand or '—' }}
Model
{{ asset.model or '—' }}
Serial No.
{{ asset.serial_number }}
Service Tag
{{ asset.service_tag or '—' }}
Asset Tag
{{ asset.asset_tag or '—' }}
OS
{{ asset.operating_system or '—' }}
{% if asset.processor %}
CPU
{{ asset.processor }}
{% endif %} {% if asset.ram_gb %}
RAM
{{ asset.ram_gb }} GB
{% endif %} {% if asset.storage_gb %}
Storage
{{ asset.storage_gb }} GB
{% endif %} {% if asset.mac_address %}
MAC
{{ asset.mac_address }}
{% endif %}
Procurement
Purchased
{{ asset.purchase_date.strftime('%d/%m/%Y') if asset.purchase_date else '—' }}
Warranty
{{ asset.warranty_expiry.strftime('%d/%m/%Y') if asset.warranty_expiry else '—' }}
Price
{{ '%.2f'|format(asset.purchase_price) if asset.purchase_price else '—' }}
Supplier
{{ asset.supplier or '—' }}
PO #
{{ asset.po_number or '—' }}
Location
{{ asset.location or '—' }}
{% if asset.notes %}

{{ asset.notes }}

{% endif %}
Assignment History
{% for a in history %} {% else %} {% endfor %}
User Windows ID From Until Status
{{ a.user.display_name }} {{ a.user.windows_id }} {{ a.assigned_date.strftime('%d/%m/%Y') if a.assigned_date else '—' }} {{ a.returned_date.strftime('%d/%m/%Y') if a.returned_date else '—' }} {% if a.is_active %} Active {% else %} Returned {% endif %} {% if a.is_active %} {% endif %}
No assignment history.
Documents {% if asset.current_user %} New {% endif %}
{% for d in docs %} {% else %} {% endfor %}
TitleTypeUserDate
{{ d.title }} {{ d.doc_type_label }} {{ d.user.display_name }} {{ d.created_at.strftime('%d/%m/%Y') if d.created_at else '—' }} {% if d.pdf_filename %} {% endif %}
No documents.
{% if asset.asset_type in ('Laptop', 'Desktop') %}
IT Compliance & Inventory
Inventory #
{{ asset.inventory_number or '—' }}
AD Device Name
{{ asset.ad_device_name or '—' }}
Location Note
{{ asset.location_note or '—' }}
{% if asset.encryption_checked %} Encrypted {% else %} Not Encrypted {% endif %} {% if asset.encryption_checked_by %}
by {{ asset.encryption_checked_by.username }} {% if asset.encryption_checked_at %} — {{ asset.encryption_checked_at.strftime('%d/%m/%Y %H:%M') }} {% endif %}
{% endif %}
{% if asset.backup_checked %} Backup OK {% else %} No Backup {% endif %} {% if asset.backup_checked_by %}
by {{ asset.backup_checked_by.username }} {% if asset.backup_checked_at %} — {{ asset.backup_checked_at.strftime('%d/%m/%Y %H:%M') }} {% endif %}
{% endif %}
{% if asset.hr_notified %} HR Notified {% else %} HR Pending {% endif %} {% if asset.hr_notified_by %}
by {{ asset.hr_notified_by.username }} {% if asset.hr_notified_at %} — {{ asset.hr_notified_at.strftime('%d/%m/%Y %H:%M') }} {% endif %}
{% endif %}
{% if asset.current_user %}
{{ asset.current_user.display_name }} ({{ asset.current_user.windows_id }})
{% else %}
Not assigned
{% endif %}
{% if compliance_log %}
{% if check_history %}
Compliance Check History
{% for entry in check_history %} {% endfor %}
Date & Time Check Result Performed by Note
{{ entry.performed_at.strftime('%d/%m/%Y %H:%M') }} {{ entry.check_type_label }} {% if entry.checked %} Verified {% else %} Cleared {% endif %} {% if entry.performed_by %} {{ entry.performed_by.username }} {% else %} {% endif %} {{ entry.notes or '—' }}
{% endif %} {% endif %}{# end asset_type in Laptop/Desktop #} {% for a in history %}{% if a.is_active %} {% endif %}{% endfor %} {% endblock %}