From 18fcf5804fdcd1e21ebc4811e69d0d6a89e1a393 Mon Sep 17 00:00:00 2001
From: Étienne Loks
Date: Mon, 28 Dec 2015 11:51:56 +0100
Subject: Archaeological operations: add report state
---
archaeological_operations/templates/ishtar/sheet_operation.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'archaeological_operations/templates')
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 0435022c1..3cc536d1e 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -48,13 +48,16 @@
{% if item.operator %} {{ item.operator }}
{% endif %}
{% if item.is_active %}{%trans "Active file"%}
{% else %}{%trans "Closed operation"%}
- {{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}
+{% if item.closing.date %} {{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}
{% endif %}
{% endif %}
+{% field "Report delivery date" item.report_delivery_date %}
+{% field "Report processing" item.report_processing %}
{{ item.operation_type }}
{% if item.surface %} {{ item.surface }} m2 ({{ item.surface_ha }} ha)
{% endif %}
{% if item.cost %} {{ item.cost }} €{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} €/m2){%endif%}
{%endif%}
{% if item.duration %} {{ item.duration }} {%trans "Day"%}s
{%endif%}
+
{{ item.remains.all|join:", " }}
{{ item.periods.all|join:", " }}
--
cgit v1.2.3