{% extends "ishtar/sheet.html" %} {% load i18n window_tables window_ope_tables window_field from_dict %} {% block head_sheet %} {{block.super}}
{% trans "This operation is virtual." %}
{% endif %}{{ item.common_name }}
{% endif %} {% if item.year %}{{ item.year }}
{% endif %} {% if item.operation_code %}{{ item.operation_code }}
{% endif %} {% if item.code_patriarche %}OA{{ item.code_patriarche }}
{%else%}{%trans "Patriarche OA code not yet recorded!"%}
{%endif%}{% if item.history_date %}{{ item.history_date }}{% else %}{{ item.history.all.0.history_date }}{% endif %}
{{ item.history_creator.ishtaruser.full_label }}
{% if item.start_date %}{{ item.start_date }}
{{ item.excavation_end_date|default:"-" }}
{%endif%} {% if item.scientist %}{{ item.scientist.full_label }}
{%endif%} {% if item.in_charge %}{{ item.in_charge.full_label }}
{%endif%} {% if item.operator %}{{ item.operator }}
{% endif %}{% if item.is_active %}{%trans "Active file"%}
{% else %}{%trans "Closed operation"%} {% 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%} {% field_multiple "Remains" item.remains %} {% field_multiple "Periods" item.periods %} {% if item.QUALITY_DICT %} {% field "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %} {% endif %} {% if item.history_object and item.history_object.QUALITY_DICT %} {% field "Record quality" item.record_quality|from_dict:item.history_object.QUALITY_DICT %} {% endif %} {% field "Abstract" item.abstract %} {% if item.associated_file %} {% if item.associated_file.is_preventive %} {#{% if item.operator_reference_code %}{{ item.operator_reference_code }}
{% endif %}#} {% field "Responsible for town planning service" item.associated_file.responsible_town_planning_service.full_address %} {% if item.associated_file.town_planning_service %} {% field "Town planning service organization" item.associated_file.town_planning_service.full_address %} {% else %} {% field "Town planning service organization" item.associated_file.responsible_town_planning_service.attached_to.full_address %} {% endif %} {% if item.associated_file.permit_type %}{{ item.associated_file.permit_type }}
{% endif %} {% if item.associated_file.permit_reference %}{{ item.associated_file.permit_reference }}
{% endif %} {% field "General contractor" item.associated_file.general_contractor.full_address %} {% if item.associated_file.corporation_general_contractor %} {% field "General contractor organization" item.associated_file.corporation_general_contractor.full_address %} {% else%} {% field "General contractor organization" item.associated_file.general_contractor.attached_to.full_address %} {% endif %} {% endif %} {% endif %} {% field "Comment" item.comment "" "" %} {% if item.towns.count %}
{{ item.towns.all|join:", " }}
{% endif %} {% if item.associated_file.address %}{{ item.associated_file.address }}
{% if item.associated_file.address_complement %}{{ item.associated_file.address_complement }}
{%endif%} {% if item.associated_file.postal_code %}{{ item.associated_file.postal_code }}
{%endif%} {%endif%} {% comment %}{{ item.lambert_x }}
{{ item.lambert_y }}
{{ item.altitude }}
{% endcomment %} {% if item.right_relations.count %}