{% extends "base.html" %} {% load i18n range units humanize %} {% block extra_head %} {{form.media}} {% endblock %} {% block content %}

{% trans "Operations" %}

{% trans "Global informations" %}

{% trans "total" %}

{% for lbl, nb in dashboard.total %} {% endfor %}
{% trans "Status" %}{% trans "Number" %}
{{lbl}}{{nb|intcomma}}

{% trans "area by type of operation" %}

{% for surface in dashboard.surface_by_type %} {% endfor %}
{% trans "Status" %}{% trans "Area (ha)" %}
{{surface.operation_type__label}}{{surface.number|m2_to_ha|intcomma}}

{% trans "by types" %}

{% for typ in dashboard.types %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, types in dashboard.by_type %} {%for nb in types %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{typ.label}}
{{lbl}}{{nb|intcomma}}

{% trans "by year" %}

{% for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.by_year %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{yr|default_if_none:''}}
{{lbl}}{{nb|intcomma}}

{% trans "by realisation year" %}

{%for yr in dashboard.realisation_years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.by_realisation_year %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{yr.year|default_if_none:''}}
{{lbl}}{{nb|intcomma}}

{% trans "effective operation by type and year" %}

{% for lbl, years in dashboard.effective %} {% if forloop.counter0|divisibleby:6 %} {%for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endif %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{{yr|default_if_none:''}}
{{lbl}}{{nb|intcomma}}

{% trans "by realisation month" %}

{%for mt in dashboard.last_months %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, months in dashboard.by_realisation_month %} {%for nb in months %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{mt.date|date:"N Y"|capfirst}}
{{lbl}}{{nb|intcomma}}

{% trans "Survey informations" %}

{% trans "total" %}

{% for lbl, nb in dashboard.survey.total %} {% endfor %}
{% trans "Status" %}{% trans "Number" %}
{{lbl}}{{nb|intcomma}}

{% trans "by year" %}

{%for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.survey.by_year %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{yr|default_if_none:''}}
{{lbl}}{{nb|intcomma}}

{% trans "by realisation year" %}

{%for yr in dashboard.realisation_years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.survey.by_realisation_year %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{yr.year|default_if_none:''}}
{{lbl}}{{nb|intcomma}}

{% trans "current year" %}

{% for lbl in dashboard.filters_label %}{%endfor%} {% for nb in dashboard.survey.area %}{%endfor%} {% for nb in dashboard.survey.manday %}{%endfor%} {% for nb in dashboard.survey.mandayhect %}{%endfor%}
{{lbl}}
{% trans "Area"%}{{nb|intcomma}}
{% trans "Man-day"%}{{nb|intcomma}}
{% trans "Man-day/hectare"%}{{nb|intcomma}}

{% trans "Man-day/hectare for effective operations (current year):" %} {{dashboard.survey.mandayhect_effective}}

{% trans "organizations (current year)" %}

{% for org in dashboard.survey.org %} {% endfor %}
 {% trans "Area" %}{% trans "Man-day" %}{% trans "Man-day/hectare" %}
{{org.scientist__attached_to__name}}{{org.area|intcomma}}{{org.manday|intcomma}}{{org.mandayhect|intcomma}}

{% trans "current realisation year" %}

{% for lbl in dashboard.filters_label %}{%endfor%} {% for nb in dashboard.survey.area_realised %}{%endfor%} {% for nb in dashboard.survey.manday_realised %}{%endfor%} {% for nb in dashboard.survey.mandayhect_realised %}{%endfor%}
{% trans "Status" %}{{lbl}}
{% trans "Area"%}{{nb|intcomma}}
{% trans "Man-day"%}{{nb|intcomma}}
{% trans "Man-day/hectare"%}{{nb|intcomma}}

{% trans "Man-day/hectare for effective operations (current realisation year):" %} {{dashboard.survey.mandayhect_real_effective}}

{% trans "organizations (current realisation year)" %}

{% for org in dashboard.survey.org_realised %} {% endfor %}
 {% trans "Area" %}{% trans "Man-day" %}{% trans "Man-day/hectare" %}
{{org.scientist__attached_to__name}}{{org.area|intcomma}}{{org.manday|intcomma}}{{org.mandayhect|intcomma}}

{% trans "area by organization by year" %}

{% for org, vals in dashboard.survey.org_by_year %} {% if forloop.counter0|divisibleby:4 %} {% for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endif %} {% for area, cost in vals %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %} {% for area in dashboard.survey.org_by_year_area_mean %} {% if forloop.counter0|divisibleby:5 %} {% endif%} {% endfor %}
{% trans "Organization" %}{{yr|default_if_none:''}}
{{org}}{{area|intcomma}}
{% trans "Mean" %}{{area|intcomma}}

{% trans "effective operations areas (ha)" %}

{%for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for nb, mean in dashboard.survey.effective %} {% if forloop.counter0|divisibleby:5 %}{%endif%} {% endfor %} {% for nb, avg in dashboard.survey.effective %} {% if forloop.counter0|divisibleby:5 %}{%endif%} {% endfor %}
{{yr|default_if_none:''}}
{% trans "Sum" %}{{nb|m2_to_ha|intcomma}}
{% trans "Average" %}{{avg|m2_to_ha|intcomma}}

{% trans "man-days/hectare by year" %}

{%for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for nb, mean in dashboard.survey.mandayshect %} {% if forloop.counter0|divisibleby:5 %}{%endif%} {% endfor %} {% for nb, avg in dashboard.survey.mandayshect %} {% if forloop.counter0|divisibleby:5 %} {%endif%} {% endfor %}
{{yr|default_if_none:''}}
{% trans "Man-Days/hectare" %}{{nb|intcomma}}
{% trans "Average" %}{{avg|intcomma}}

{% trans "by month" %}

{% for mt in dashboard.last_months %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, months in dashboard.survey.by_month %} {%for nb in months %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{mt.date|date:"N Y"|capfirst}}
{{lbl}}{{nb|intcomma}}

{% trans "by department" %}

{% for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.survey.by_dpt %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {{nb|intcomma}}{% endfor %} {% endfor %}
{% trans "Department" %}{{yr|default_if_none:''}}{% trans "Sum" %}
{{lbl}}

{% trans "effective operation by department" %}

{% for yr in dashboard.years %} {% if forloop.counter0|divisibleby:4 %} {% endif %} {% endfor %} {%for yr in dashboard.years %}{% endfor %} {% for lbl, years in dashboard.survey.effective_by_dpt %} {%for nb, area, cost, fnap in years %} {% if forloop.counter0|divisibleby:4 %} {% endif %} {{nb|intcomma}}{{area|intcomma}}{% endfor %} {% endfor %}
{% trans "Department" %}{{yr|default_if_none:''}}{% trans "Sum" %}
{%trans "Nb."%}{%trans "Area"%}{%trans "Nb."%}{%trans "Area"%}
{{lbl}}

{% trans "main towns by number" %}

{% for lbl, nb in dashboard.survey.towns %} {% endfor %}
{% trans "Town" %}{% trans "Number" %}
{{lbl}}{{nb|intcomma}}

{% trans "main towns by surface" %}

{% for lbl, nb in dashboard.survey.towns_surface %} {% endfor %}
{% trans "Town" %}{% trans "Total surface (ha)" %}
{{lbl}}{{nb|m2_to_ha|intcomma}}

{% trans "Excavation informations" %}

{% trans "total" %}

{% for lbl, nb in dashboard.excavation.total %} {% endfor %}
{% trans "Status" %}{% trans "Number" %}
{{lbl}}{{nb|intcomma}}

{% trans "by year" %}

{%for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.excavation.by_year %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{yr|default_if_none:''}}
{{lbl}}{{nb|intcomma}}

{% trans "by realisation year" %}

{% for yr in dashboard.realisation_years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.excavation.by_realisation_year %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{yr.year}}
{{lbl}}{{nb}}

{% trans "current realisation year" %}

{% for lbl in dashboard.filters_label %}{%endfor%} {% for nb in dashboard.excavation.area_realised %}{%endfor%} {% for nb in dashboard.excavation.manday_realised %}{%endfor%} {% for nb in dashboard.excavation.mandayhect_realised %}{%endfor%}
{% trans "Status" %}{{lbl}}
{% trans "Area"%}{{nb|default_if_none:'-'|intcomma}}
{% trans "Man-day"%}{{nb|default_if_none:'-'|intcomma}}
{% trans "Man-day/hectare"%}{{nb|default_if_none:'-'|intcomma}}

{% trans "Man-day/hectare for effective operations (current realisation year):" %} {{dashboard.excavation.mandayhect_real_effective}}

{% trans "organizations (current realisation year)" %}

{% for org in dashboard.excavation.org_realised %} {% endfor %}
 {% trans "Area" %}{% trans "Man-day" %}{% trans "Man-day/hectare" %}
{{org.scientist__attached_to__name}}{{org.area|default_if_none:'-'|intcomma}}{{org.manday|default_if_none:'-'|intcomma}}{{org.mandayhect|default_if_none:'-'|intcomma}}

{% trans "area by organization by year" %}

{% for org, vals in dashboard.excavation.org_by_year %} {% if forloop.counter0|divisibleby:5 %} {% for yr in dashboard.years%} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endif %} {% for area, cost in vals %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %} {% for area in dashboard.excavation.org_by_year_area_sum %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for area in dashboard.excavation.org_by_year_area_mean %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %}
{% trans "Organization" %}{{yr|default_if_none:'-'}}
{{org}}{{area|default_if_none:'-'|intcomma}}
{% trans "Sum" %}{{area|intcomma}}
{% trans "Mean" %}{{area|intcomma}}

{% trans "area by organization by realisation year" %}

{% for org, vals in dashboard.excavation.org_by_year %} {% if forloop.counter0|divisibleby:5 %} {% for yr in dashboard.years%} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endif %} {% for area, cost in vals %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %} {% for area in dashboard.excavation.org_by_year_area_sum %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for area in dashboard.excavation.org_by_year_area_mean %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %}
{% trans "Organization" %}{{yr|default_if_none:'-'}}
{{org}}{{area|default_if_none:'-'|intcomma}}
{% trans "Sum" %}{{area|default_if_none:'-'|intcomma}}
{% trans "Mean" %}{{area|default_if_none:'-'|intcomma}}

{% trans "by month" %}

{% for mt in dashboard.last_months %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, months in dashboard.excavation.by_month %} {% for nb in months %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% endfor %}
{% trans "State" %}{{mt.date|date:"N Y"|capfirst}}
{{lbl}}{{nb|default_if_none:'-'|intcomma}}

{% trans "by department" %}

{% for yr in dashboard.years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {% endfor %} {% for lbl, years in dashboard.excavation.by_dpt %} {% for nb in years %} {% if forloop.counter0|divisibleby:5 %} {% endif %} {{nb|default_if_none:'-'|intcomma}}{% endfor %} {% endfor %}
{% trans "Department" %}{{yr|default_if_none:'-'}}{% trans "Sum" %}
{{lbl}}

{% trans "effective operation by department" %}

{% for yr in dashboard.years %} {% if forloop.counter0|divisibleby:3 %} {% endif %} {% endfor %} {% for yr in dashboard.years %}{% endfor %} {% for lbl, years in dashboard.excavation.effective_by_dpt %} {% for nb, area, cost, fnap in years %} {% if forloop.counter0|divisibleby:3 %} {% endif %} {{nb|intcomma}}{{cost|intcomma}}{{fnap|intcomma}}{% endfor %} {% endfor %}
{% trans "Department" %}{{yr|default_if_none:'-'}}{% trans "Department" %} {% trans "Sum" %}
{%trans "Nb."%}{%trans "Cost"%}{%trans "FNAP cost"%}{%trans "Nb."%}{%trans "Cost"%}{%trans "FNAP cost"%}
{{lbl}}

{% trans "main towns by number" %}

{% for lbl, nb in dashboard.excavation.towns %} {% endfor %}
{% trans "Town" %}{% trans "Number" %}
{{lbl}}{{nb|intcomma}}

{% trans "main towns by cost" %}

{% for lbl, nb in dashboard.excavation.towns_cost %} {% endfor %}
{% trans "Town" %}{% trans "Cost (euros)" %}
{{lbl}}{{nb|intcomma}}
{% endblock %}