{% extends "sheet.html" %} {% load i18n %} {% block content %}
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}

{% trans "General"%}

{{ item.year }}

{{ item.numeric_reference }}

{% if item.patriarche_code %}

{{ item.patriarche_code }}

{%endif%} {% if item.patriarche_code_not_recorded %}

{%endif%}

{{ item.internal_reference }}

{{ item.history.all.0.history_date }}

{{ item.begin_date }}

{{ item.end_date }}

{{ item.head_scientist.full_label }}

{% if item.is_active %}{%trans "Active file"%}

{% else %}{%trans "Closed operation"%}

{{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}

{% endif %}

{{ item.operation_type }}

{{ item.total_surface }} m2 ({{ item.total_surface_ha }} ha)

{{ item.cost }} Euros, ({{ item.cost_by_m2 }} Euros/m2)

{{ item.duration }} {%trans "Day"%}s

{{ item.remains.all|join:", " }}

{{ item.periods.all|join:", " }}

{% if item.related_file %}

{{ item.related_file }}

{% if item.related_file.is_preventive %} {% if item.operator_reference_code %}

{{ item.operator_reference_code }}

{% endif %} {% if item.related_file.town_planning_service %}

{{ item.related_file.town_planning_service }}

{% endif %} {% if item.related_file.permit_type %}

{{ item.related_file.permit_type }}

{% endif %} {% if item.related_file.permit_reference %}

{{ item.related_file.permit_reference }}

{% endif %} {% if item.related_file.general_contractor.attached_to %}

{{ item.related_file.general_contractor.attached_to }}

{% endif %} {% if item.related_file.general_contractor %}

{{ item.related_file.general_contractor.full_label }}

{% endif %} {% endif %} {% endif %} {% if item.comment %}

{{ item.comment }}

{%endif%}

{% trans "Localisation"%}

{{ item.towns.all|join:", " }}

{{ item.address }}

{% if item.address_complement %}

{{ item.address_complement }}

{%endif%} {% if item.postal_code %}

{{ item.postal_code }}

{%endif%}

{{ item.lambert_x }}

{{ item.lambert_y }}

{{ item.altitude }}

{% for parcels in item.parcel.all %} {% empty %} {% endfor %}
{%trans "Associated parcels"%}
{% trans "Commune" %} {% trans "Year" %} {% trans "Section" %} {% trans "Parcel" %} {% trans "Owner" %}
{{operation.commune}} {{operation.year}} {{operation.section}} {{operation.parcel}} {{operation.parcel.owner}}
{% trans "No parcel associated to this operation" %}

{% trans "Admninistrative acts"%}

{% for act in item.administrative_act.all %} {% empty %} {% endfor %}
{%trans "Admninistrative acts"%}
{% trans "Year" %} {% trans "Reference" %} {% trans "Type" %} {% trans "Date" %}
{{act.signature_date.year}} {{act.ref_sra}} {{act.act_type}} {{act.signature_date}}
{% trans "No administrative act associated to this operation" %}

{% trans "Documentation"%}

{% for doc in item.doc.all %} {% empty %} {% endfor %}
{%trans "Documents"%}
{% trans "Title" %} {% trans "Type" %} {% trans "Authors" %} {% trans "Localisation" %}
{{ doc.title }} {{doc.type}} {{ doc.author.all|join:", " }} {{ doc.localisation }}
{% trans "No document associated to this operation" %}

{% trans "Context Records"%}

{% for record_unit in item.record_unit.all %} {% empty %} {% endfor %}
{%trans "Context Records"%}
{% trans "ID" %} {% trans "Type" %} {% trans "Chronology" %} {% trans "Description" %} {% trans "Parcel" %}  
{{ record_unit.label }} {{record_unit.unit_type}} {{ record_unit.period.all|join:", " }} {{ record_unit.description }} {{ record_unit.section_and_parcel }}
{% trans "No context record associated to this operation" %}
{% endblock %}