blob: 262d7145bf48e5406d0009bcee9f6fc38598f150 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{% extends "ishtar/sheet.html" %}
{% load i18n window_header window_field window_tables %}
{% block head_title %}<strong>{% trans "Container" %}</strong> - {{ item.reference|default:"" }} ({{ item.container_type|default:"" }}){% endblock %}
{% block toolbar %}
{% window_nav item window_id 'show-container' 'container_modify' '' '' previous next 1 %}
{% endblock %}
{% block content %}
<div class="row">
<div class="offset-lg-4 col-lg-4 offset-md-3 col-md-6 offset-sm-1 col-sm-10 col-12">
<div class="card">
{% include "ishtar/blocks/window_image.html" %}
<div class="card-body">
<p class="card-text">
<p class="window-refs">{{ item.reference|default:"" }}</p>
<p class="window-refs">{{ item.container_type|default:"" }}</p>
<p class="window-refs">{{ item.responsible.name }} - {{ item.index }}</p>
<p class="window-refs">{{ item.old_reference|default:"" }}</p>
{% include "ishtar/blocks/sheet_external_id.html" %}
</p>
</div>
</div>
</div>
</div>
<div class="row">
{% field_flex_detail "Responsible warehouse" item.responsible %}
{% field_flex_detail "Location (warehouse)" item.location %}
{% include "ishtar/blocks/sheet_creation_section.html" %}
{% field_flex "Location" item.precise_location %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
</div>
{% include "ishtar/blocks/sheet_json.html" %}
{% if item.finds.count %}
<h4>{% trans "Content" %}</h4>
{% dynamic_table_document finds 'finds' 'container' item.pk 'TABLE_COLS' output 'large' %}
{% endif %}
{% if item.finds_ref.count %}
<h4>{% trans "Reference content" %}</h4>
{% dynamic_table_document finds 'finds' 'container_ref' item.pk 'TABLE_COLS' output 'large' %}
{% endif %}
{% endblock %}
|