{% extends "sheet.html" %} {% load i18n %} {% block content %}

{% trans "General"%}

{{ item.year }}

{{ item.numeric_reference }}

{{ item.internal_reference }}

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

{% if item.reception_date %}

{{ item.reception_date }}

{% endif %}

{{ item.creation_date }}

{% comment %} {% if item.deadline_date and not item.acts %}

{% item.deadline_date %}

{% endif %} {% endcomment %}

{{ item.in_charge.full_label }}

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

{% else %}{%trans "Closed file"%}

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

{% endif %}

{{ item.file_type }}

{% if item.related_file %}

{{ item.related_file }}

{% 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.total_surface }} m2 ({{ item.total_surface_ha }} ha)

{% if item.is_preventive %}

{% trans "Preventive archaelogical file"%}

{{ item.total_developed_surface }} m2 ({{ item.total_developed_surface_ha }} ha)

{{ item.saisine_type }}

{% if item.town_planning_service %}

{{ item.town_planning_service }}

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

{{ item.permit_type }}

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

{{ item.permit_reference }}

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

{{ item.general_contractor.attached_to }}

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

{{ item.general_contractor.full_label }}

{% endif %} {% endif %} {% 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 archaelogical file" %}
{% for operation in item.operations.all %} {% empty %} {% endfor %}
{%trans "Associated operations"%}
{% trans "Year" %} {% trans "Reference" %} Code Patriarche {% trans "Type" %} {% trans "In charge" %} {% trans "Start date" %} {% trans "End date" %}
{{operation.year}} {{operation.operation_code}} {{operation.code_patriarche|default:""}} {{operation.operation_type}} {{operation.in_charge|default:""}} {{operation.start_date|default:""}} {{operation.end_date|default:""}} {% trans "Details" %}
{% trans "No operation associated to this archaelogical file" %}
{% for act in item.operation_acts %} {% empty %} {% endfor %}
{%trans "Admninistrative acts linked to associated operations"%}
{% 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 linked to operations" %}
{% endblock %}