From ade7bd4b74d9ae42c54648cc7390d8c067b5c5e3 Mon Sep 17 00:00:00 2001
From: Étienne Loks {{ item.year }} {{ item.operation_code }} {{ item.code_patriarche }} {%trans "Patriarche OA code not yet recorded!"%} {{ item.internal_reference }} {{ item.history.all.0.history_date }} {{ item.start_date }} {{ item.excavation_end_date|default:"-" }} {{ item.in_charge.full_label }} {% if item.is_active %}{%trans "Active file"%}{% trans "General"%}
+
{{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}
+{% endif %} +{{ 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:", " }}
+ +{% if item.associated_file %} + +{% if item.associated_file.is_preventive %} +{#{% if item.operator_reference_code %}{{ item.operator_reference_code }}
{% endif %}#} +{% if item.associated_file.town_planning_service %}{{ item.associated_file.town_planning_service }}
{% 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 %} +{% if item.associated_file.general_contractor.attached_to %}{{ item.associated_file.general_contractor.attached_to }}
{% endif %} +{% if item.associated_file.general_contractor %}{{ item.associated_file.general_contractor.full_label }}
{% endif %} +{% endif %} +{% endif %} + +{% if item.comment %}{{ item.comment }}
{%endif%} + +{{ item.towns.all|join:", " }}
+ +{{ 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%} + +{% comment %} +{{ item.lambert_x }}
+{{ item.lambert_y }}
+{{ item.altitude }}
+{% endcomment %} +| {% trans "Commune" %} | +{% trans "Year" %} | +{% trans "Section" %} | +{% trans "Parcel" %} | + {#{% trans "Owner" %} | #} +
|---|---|---|---|---|
| {{parcel.town}} | +{{parcel.year}} | +{{parcel.section}} | +{{parcel.parcel_number}} | + {#{{operation.parcel.owner}} | #} +
| {% trans "No parcel associated to this operation" %} | ||||
| {% trans "Year" %} | +{% trans "Reference" %} | +{% trans "Type" %} | +{% trans "Date" %} | +
|---|---|---|---|
| {{act.signature_date.year}} | +{{act.ref_sra}} | +{{act.act_type}} | +{{act.signature_date}} | +
| {% trans "No acts associated to this operation" %} | |||
| {% trans "Title" %} | +{% trans "Type" %} | +{% trans "Authors" %} | + {#{% trans "Localisation" %} | #} +
|---|---|---|---|
| {{ doc.title }} | +{{doc.source_type}} | +{{ doc.authors.all|join:", " }} | + {#{{ doc.localisation }} | #} +
| {% trans "No scientific document associated to this operation" %} | |||
| {% trans "ID" %} | +{% trans "Type" %} | +{% trans "Chronology" %} | +{% trans "Description" %} | +{% trans "Parcel" %} | ++ |
|---|---|---|---|---|---|
| {{ context_record.label }} | +{{context_record.unit|default:""}} | +{{ context_record.datings.all|join:", " }} | {# periods ?#} +{{ context_record.description }} | +{{ context_record.parcel.section }} - {{context_record.parcel.parcel_number}} | +{% trans "Details" %} | +
| {% trans "No context record associated to this operation" %} | |||||
| {% trans "Find" %} | +{% trans "Material type" %} | +{% trans "Context record" %} | +{% trans "Periods" %} | +{% trans "Description" %} | +{% trans "Weight" %} | +{% trans "Numbers" %} | +{% trans "Parcel" %} | ++ |
|---|---|---|---|---|---|---|---|---|
| {{ find.full_label }} | +{# Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). #} +{# or displayed as (Year)-(index)-(Record unit label)-(Finds label). #} +{{ find.material_type_label }} | +{{find.context_record.label}} | +{{ find.get_last_item.dating}} | {# TODO .all|join:", " ? #} +{{ find.get_last_item.description }} | +{{ find.get_last_item.weight }} | +{{ find.get_last_item.item_number }} | +{{ context_record.parcel.short_label }} | +{% trans "Details" %} | + {#{%trans "Details"%}#} +
| {% trans "No find associated to context record" %} {{context_record.short_label}} | ||||||||
| {% trans "No find associated to parcel" %} {{parcel.short_label}} {% trans "(no context record)" %} | ||||||||