{% extends "ereuse_devicehub/base_site.html" %} {% block main %}

Inventory

{{ device.devicehub_id }}

Details
{% if device.placeholder %}(edit){% endif %}
Type
{{ device.type }}
Manufacturer
{{ device.manufacturer }}
Model
{{ device.model }}
Serial Number
{{ device.serial_number }}
Incoming Lots
{% for lot in device.lots %} {% if lot.is_incoming %} {% endif %} {% endfor %}
Outgoing Lots
{% for lot in device.lots %} {% if lot.is_outgoing %} {% endif %} {% endfor %}
Temporary Lots
{% for lot in device.lots %} {% if lot.is_temporary %} {% endif %} {% endfor %}
Status Details
Physical State
{% if device.physical_status %} {{ device.physical_status.type }} {% endif %}
Lifecycle State
{% if device.status %} {{ device.status.type }} {% endif %}
Allocated State
{% if device.allocated_status %} {{ device.allocated_status.type }} {% endif %}
Rate Details
Rating
{{ device.rate or '' }}
Processor
{{ device.rate.processor or '' }}
RAM
{{ device.rate.ram or '' }}
Data storage
{{ device.rate.data_storage or '' }}
Traceability log Details
{% for action in device.reverse_actions %}
{{ action.type }} {{ action.severity }} {{ action.created.strftime('%H:%M %d-%m-%Y') }}
{% endfor %}
Components Details
{% for component in device.components|sort(attribute='type') %}
{{ component.type }}
{{ component.created.strftime('%H:%M %d-%m-%Y') }}

{{ component.manufacturer }}
{{ component.model }}

{% if component.type in ['RamModule', 'HardDrive', 'SolidStateDrive'] %} {{ component.size }}MB {% endif %}
{% endfor %}
{% endblock main %}