{% extends "generic/object.html" %} {% load render_table from django_tables2 %} {% load django_tables2 %} {% load plugins %} {% load tabs %} {% load inventory_monitor %} {% load i18n %} {% load static %} {% block content %}
Asset Identification
Part Number {{ object.partnumber|placeholder }}
Serial {{ object.serial|placeholder }}
Description {{ object.description|placeholder }}
Type {% if object.type %} {{ object.type }} {% if object.type.color %}   {% endif %} {% else %} {{ ''|placeholder }} {% endif %}
Vendor {{ object.vendor|placeholder }}
Assignment Status {{ object.get_assignment_status_display }}
Lifecycle Status {{ object.get_lifecycle_status_display }}
{% trans "Assigned Object" %} {{ object.assigned_object|linkify|placeholder }}
Project {{ object.project|placeholder }}
Asset Details
Warranty Start {{ object.warranty_start | placeholder }}
Warranty End {{ object.warranty_end | placeholder }}
Warranty Status {% include 'inventory_monitor/inc/status_badge.html' with record=object status_type='warranty' %}
Items {{ object.quantity|placeholder }}
Price {{ object.price|format_price_with_currency:object.currency }}
Currency {{ object.currency|default:"---" }}
Asset Number(s) {% if object.get_external_inventory_asset_numbers_display %} {{ object.get_external_inventory_asset_numbers_display }} {% else %} {{ ''|placeholder }} {% endif %}
Order Contract {% if object.order_contract %} {{ object.order_contract }} {% else %} {{ ''|placeholder }} {% endif %}
Probe Information {% if object.is_recently_probed %} Recent {% else %} Stale {% endif %}
{% with latest_probe=object.get_related_probes.first %} {% if latest_probe %} {% endif %} {% endwith %}
Last Probe Time {% with probe_time=object.get_last_probe_time %} {% if probe_time %} {{ probe_time|date:"Y-m-d H:i:s" }}
{{ probe_time|timesince }} ago {% else %} Never probed {% endif %} {% endwith %}
Related Probes {% with probe_count=object.get_related_probes.count %} {% if probe_count > 0 %} View {{ probe_count }} probe{{ probe_count|pluralize }} {% else %} No probes found {% endif %} {% endwith %}
Latest Probe Details View Latest Probe
{% if latest_probe.device %}Device: {{ latest_probe.device }}{% endif %} {% if latest_probe.site %}| Site: {{ latest_probe.site }}{% endif %}
{% include 'inc/panels/image_attachments.html' %} {% include "inc/panels/custom_fields.html" %}
{% include "inc/panels/tags.html" %} {% include "inc/panels/comments.html" %}
External Inventory Items
{% if perms.inventory_monitor.change_externalinventory %} Edit External Inventory {% endif %} External Inventory List
{% htmx_table 'plugins:inventory_monitor:externalinventory_list' asset_id=object.pk %}
Services
Service List {% if perms.inventory_monitor.add_assetservice %} Add Service {% endif %}
{% htmx_table 'plugins:inventory_monitor:assetservice_list' asset=object.pk %}
{% plugin_left_page object %}
{% plugin_right_page object %}
{% include 'inventory_monitor/inc/asset_rmas.html' %}
{% plugin_full_width_page object %}
{% endblock content %}