summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_treatmentfile.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentfile.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
index eacf853ca..952171aa1 100644
--- a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html
@@ -40,9 +40,9 @@
{% field_flex "Type" item.type %}
{% field_flex_detail "Responsible" item.in_charge %}
{% field_flex_detail "Associated basket" item.associated_basket %}
- {% field_flex "Reception date" item.reception_date %}
- {% field_flex "Start date" item.creation_date %}
- {% field_flex "Closing date" item.end_date %}
+ {% field_flex "Reception date" item.reception_date|date:"DATE_FORMAT" %}
+ {% field_flex "Start date" item.creation_date|date:"DATE_FORMAT" %}
+ {% field_flex "Closing date" item.end_date|date:"DATE_FORMAT" %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
{% include "ishtar/blocks/sheet_json.html" %}
</div>
@@ -69,7 +69,7 @@
<h3>{% trans "Applicant organisation" %}</h3>
<div class="row">
{% field_flex_detail "Name" item.applicant_organisation %}
- {% field_flex_full "Contact" item.applicant.address_lbl %}
+ {% field_flex_full "Contact" item.applicant_organisation.address_lbl %}
</div>
{% endif %}
@@ -88,5 +88,12 @@
{% table_administrativact admact_lbl item.administrative_act.all %}
{% endif %}
+{% if not is_external %}
+<h3>{% trans "Sheet"%}</h3>
+<div class="row">
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
+</div>
+{% endif %}
+
{% endwith %}{% endwith %}{% endwith %}
{% endblock %}