X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Ftemplates%2Finventory%2Finventory_summary.html;h=00cb6bd8473f57508e66581bc213d9a54fa0ca25;hp=5112c215201fb59be46939173d5e79f4c08d1f32;hb=b0b41b36b41c6a38b4306f9cc19bbfba7fc5f033;hpb=d6bab3013ba57b263ceeffdcb36f609533117de3 diff --git a/htsworkflow/frontend/templates/inventory/inventory_summary.html b/htsworkflow/frontend/templates/inventory/inventory_summary.html index 5112c21..00cb6bd 100644 --- a/htsworkflow/frontend/templates/inventory/inventory_summary.html +++ b/htsworkflow/frontend/templates/inventory/inventory_summary.html @@ -2,10 +2,42 @@ {% block content %} {% if item %} -

Item: {{item.uuid}}

- Print - - +

Item Summary:

+ Print
+
+ UUID: {{item.uuid}}
+ Barcode ID: {{ item.barcode_id }}
+ Type: {{ item.item_type.name }}
+
+ Location: {{ item.location.name }}
+ Status: {% if item.status %}{{ item.status.name }}{% else %}N/A{% endif %}
+
+ {% if item.item_info.model_id %} + Model ID: {{ item.item_info.model_id }}
+ {% endif %} + {% if item.item_info.part_number %} + Part Number: {{ item.item_info.part_number }}
+ {% endif %} + {% if item.item_info.lot_number %} + Lot Number: {{ item.item_info.lot_number }}
+ {% endif %} +
+ {% if item.item_info.url %} + Item Website: Link
+ {% endif %} + Vendor: {% if item.item_info.vendor.url %}{% endif %}{{ item.item_info.vendor.name }}{% if item.item_info.vendor.url %}{% endif %}
+ Purchase Date:{% if item.item_info.purchase_date %}{{ item.item_info.purchase_date }}{% else %}N/A{% endif %}
+ Warenty (Months):{% if item.item_info.warenty_months %}{{item.item_info.warenty_months}}{% else %}N/A{% endif %}
+
+ Item Info Notes: +

+ {% if item.item_info.notes %}{{ item.item_info.notes }}{% else %}No notes found{% endif %} +

+
+ Item Specific Notes: +

+ {% if item.notes %}{{ item.notes }}{% else %}No notes found{% endif %} +

{% else %}

Item with UUID of {{ uuid }} not found.