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

Inventory

{{ placeholder.device.devicehub_id }}

{% if placeholder.status in ['Snapshot', 'Placeholder'] %} New Twin {% elif placeholder.status == 'Twin' %} Delete Twin {% endif %}
Editable details
{{ placeholder.status }}
Phid
{{ placeholder.phid }}
Id device internal
{{ placeholder.id_device_internal or '' }}
Type
{{ placeholder.device.type }}
Manufacturer
{{ placeholder.device.manufacturer or ''}}
Model
{{ placeholder.device.model or ''}}
Part Number
{{ placeholder.device.part_number or ''}}
Serial Number
{{ placeholder.device.serial_number or ''}}
{% if placeholder.binding %}
Fixed details
Type
{{ placeholder.binding.type }}
Manufacturer
{{ placeholder.binding.manufacturer or ''}}
Model
{{ placeholder.binding.model or ''}}
Serial Number
{{ placeholder.binding.serial_number or ''}}
{% endif %}
Incoming Lots
{% for lot in placeholder.device.lots %} {% if lot.is_incoming %} {% endif %} {% endfor %}
Outgoing Lots
{% for lot in placeholder.device.lots %} {% if lot.is_outgoing %} {% endif %} {% endfor %}
Temporary Lots
{% for lot in placeholder.device.lots %} {% if lot.is_temporary %} {% endif %} {% endfor %}
Documents
{% for doc in placeholder.documents %} {% endfor %}
File Uploaded on
{% if doc.get_url() %} {{ doc.file_name}} {% else %} {{ doc.file_name}} {% endif %} {{ doc.created.strftime('%Y-%m-%d %H:%M')}}
Status Details
Physical State
{% if placeholder.device.physical_status %} {{ placeholder.device.physical_status.type }} {% endif %}
Lifecycle State
{% if placeholder.device.status %} {{ placeholder.device.status.type }} {% endif %}
Allocated State
{% if placeholder.device.allocated_status %} {{ placeholder.device.allocated_status.type }} {% endif %}
Traceability log Details
{% for action in placeholder.actions %}
{{ action.type }} {{ action.severity }} {{ action.created.strftime('%H:%M %d-%m-%Y') }}
{% endfor %}
Components Placeholder
{{ placeholder.components or '' }}
{% if placeholder.binding %}
Components Snapshot
{% for component in placeholder.binding.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 %}
{% endif %}
{% include "inventory/addDevicestag.html" %} {% endblock main %}