From 33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 6 Apr 2020 12:31:38 +0200 Subject: New container localisation - adapt sheets, imports --- archaeological_finds/templates/ishtar/sheet_find.html | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index a696bcf9f..2b2e868be 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -253,20 +253,10 @@ {% if display_warehouse_treatments %}
- {% if item.container_ref %} -

{% trans "Warehouse - reference container"%}

+ {% if item.container %} +

{% trans "Warehouse - container" %}

- {% field_flex_detail "Container" item.container_ref %} - {% field_flex "Container ID" item.container_ref.cached_location %} - {% field_flex_detail "Responsible warehouse" item.container_ref.responsible %} - {% field_flex_detail "Location (warehouse)" item.container_ref.location %} - {% field_flex "Precise localisation" item.container_ref.cached_division %} -
- {% endif %} - {% if item.container and item.container_ref.pk != item.container.pk %} -

{% trans "Warehouse - current container"%}

-
- {% field_flex_detail "Container" item.container %} + {% field_flex_detail "Container" item.container "large" %} {% field_flex "Container ID" item.container.cached_location %} {% field_flex_detail "Responsible warehouse" item.container.responsible %} {% field_flex_detail "Location (warehouse)" item.container.location %} -- cgit v1.2.3