{% extends "ishtar/sheet.html" %} {% load i18n window_ope_tables window_field window_header %} {% block head_title %}{% trans "Archaeological file" %}{% endblock %} {% block content %} {% if can_add_operation %} {% window_file_nav item window_id previous next %} {% else %} {% window_nav item window_id 'show-file' 'file_modify' 'show-historized-file' 'revert-file' previous next %} {% endif %}

{% trans "General"%}

{% field "Comment" item.comment "
" "
" %}

{% trans "Localisation"%}

{% if item.towns.count %}

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

{% endif %} {% if item.departments.count %}

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

{% endif %} {% if item.address %}

{{ item.address }}

{% if item.address_complement %}

{{ item.address_complement }}

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

{{ item.postal_code }}

{%endif%} {% endif %} {% if item.total_surface %}

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

{%endif%} {% if item.is_preventive %}

{% trans "Preventive archaelogical file"%}

{% else %}

{% trans "Research archaeology"%}

{% if item.departments.count %}

{% for department in item.departments.all %}{% if forloop.counter0 %}, {% endif %}{{ department }}{% endfor %}

{% endif %} {% if item.scientist %}

{{ item.scientist }}

{% endif %} {% if item.requested_operation_type %}

{{ item.requested_operation_type }}

{% endif %} {% if item.organization %}

{{ item.organization }}

{% endif %} {% if item.cira_advised != None %}

{{ item.cira_advised|yesno }}

{% endif %} {% if item.mh_register != None %}

{{ item.mh_register|yesno }}

{% endif %} {% if item.mh_listing != None %}

{{ item.mh_listing|yesno }}

{% endif %} {% if item.classified_area != None %}

{{ item.classified_area|yesno }}

{% endif %} {% if item.protected_area != None %}

{{ item.protected_area|yesno }}

{% endif %} {% if item.research_comment %}

{{ item.research_comment }}

{% endif %} {% endif %} {% if not next %} {% trans "Associated parcels" as parcels_label %} {% include "ishtar/blocks/window_tables/parcels.html" %} {% trans "Administrative acts" as administrativeacts_label %} {% table_administrativact administrativeacts_label item.administrative_act.all %}

{%trans "Associated operations"%}

{% for operation in item.operations.all %} {% empty %} {% endfor %}
{% trans "Ref." %} Code Patriarche {% trans "Type" %} {% trans "In charge" %} {% trans "Start date" %} {% trans "Excavation end date" %}  
{{operation.year_index}} {{operation.full_code_patriarche|default:""}} {{operation.operation_type}} {{operation.in_charge|default:""}} {{operation.start_date|default:""}} {{operation.excavation_end_date|default:""}}
{% trans "No operation associated to this archaelogical file" %}

{%trans "Admninistrative acts linked to associated operations"%}

{% for act in item.operation_acts %} {% empty %} {% endfor %}
{% trans "Year" %} {% trans "Ref." %} {% trans "Type" %} {% trans "Date" %}
{{act.signature_date.year}} {{act.ref_sra}} {{act.act_type}} {{act.signature_date}}
{% trans "No administrative act linked to operations" %}
{% endif %} {% endblock %}