{% extends 'print_base.html' %} {% load wnsq_tags %} {% load i18n %} {% block header %} {% trans 'measurement report'|capfirst %} {{ object.sample }} {% endblock header %} {% block content %}

{% trans 'measurement report'|capfirst %}


{% trans 'sample'|capfirst %}
{% trans 'name'|capfirst %} {{ object.sample }}
{% trans 'bag'|capfirst %} {{ object.sample.contained_in }}
{% trans 'project'|capfirst %} {{ object.sample.project|value_or_nothing }}
{% if is_reference %}
{% trans 'reference gas'|capfirst %}
{% trans 'substance'|capfirst %} ({% trans 'concentration'|capfirst %}) {{ object.sample.cylinder.get_substance_display }} ({{ object.sample.cylinder.concentration|floatformat:2 }} ppm)
{% trans 'cylinder'|capfirst %} ({% trans 'number'|capfirst %}) {{ object.sample.cylinder.name }} ({{ object.sample.cylinder.number }})
{% trans 'expires' %} {{ object.sample.cylinder.expires_at|date:"SHORT_DATE_FORMAT" }}
{% endif %}
{% trans 'Sampling' %}
{% trans 'date'|capfirst %} {{ object.sample.sampled_at|date:"SHORT_DATE_FORMAT" }} - {{ object.sample.sampled_at|time:"TIME_FORMAT" }}
{% trans 'dilution'|capfirst %} {% if object.sample.total_dilution == 1 %} {% nothing %} {% else %} {{ object.sample.total_dilution|floatformat:2 }} {% endif %}
{% trans 'measurement'|capfirst %}
{% trans 'location'|capfirst %} {{ object.location }} ({{ object.temperature|floatformat:1 }} C°)
{% trans 'date'|capfirst %} / {% trans 'Duration' %} {{ object.started_at|date:"SHORT_DATE_FORMAT" }}
{{ object.started_at|time:"TIME_FORMAT" }} {% nothing %} {{ object.finished_at|time:"TIME_FORMAT" }}
{% trans 'olfactometer'|capfirst %} {{ object.olfactometer }}
{% trans 'calibration'|capfirst %}/{% trans 'expires' %} {{ object.olfactometer.calibration.valid_to|date:"SHORT_DATE_FORMAT" }}
{% trans 'method'|capfirst %} {{ object.get_used_method_display }}
{% trans 'presentation time'|capfirst %} {{ object.presentation_time }}
{% if show_overview_table %} {% comment %} not show_overview_table is basically also saying that this is a quality measurement, which means the result table is pointless (since always empty) {% endcomment %} {% if manually_excluded %} {% endif %}
{% trans 'result'|capfirst %}
{% trans 'measurement result'|capfirst %} {% if object.analysis_result %} {% if not object.compliant_result %}({% endif %} {{ result_with_predil|floatformat:2 }} {% if not object.compliant_result %}){% endif %}  OUE ⁄ m3* {% else %} {% nothing %} {% endif %}
Zite,pan {% if object.analysis_result %} {{ object.analysis_result|floatformat:2 }} {% else %} {% nothing %} {% endif %}
*{% trans 'indication only applicable for measurements in accordance with the traceability requirements of the EN13725.' %}
{% trans 'Manually excluded panel member' %} {% for panel_member in manually_excluded %} {{ panel_member }} {% if not forloop.last %} , {% endif %} {% endfor %}
{% endif %} {% if object.comments %}
{% trans 'comments'|capfirst %}
{{ object.comments }} {% endif %}
{% if show_overview_table %}
{% for r in round_info %} {% if has_blank_column %} {% endif %} {% for p in r.results %} {% if has_blank_column %} {% endif %} {% endfor %}
{% trans 'round'|capfirst %} {{ r.number }} {% if not r.is_included %} ({% trans 'discarded' %}) {% endif %}
{% trans 'panelist'|capfirst %} ITE ΔZ{% trans '0-Errors' %}
{{ p.panelist.shorthand }} {% if p.ite and p.valid %} {{ p.ite|floatformat:2 }} {% elif p.ite and not p.valid %} ({{ p.ite|floatformat:2 }}) {% else %} {% nothing %} {% endif %} {% if p.dz %} {{ p.dz|floatformat:2 }} {% else %} {% nothing %} {% endif %} {{ p.blank|value_or_nothing }}
{% endfor %}
{% endif %} {% if include_matrices %}
{% for r in matrices %}
{% trans 'round'|capfirst %} {{ forloop.counter }} ({{ object.sample }} {{ object.sample.contained_in }} {% if object.sample.project %} , {% trans 'project'|capfirst %} {{ object.sample.project }}) {% else %} ) {% endif %}
{% trans 'Operator' %} {{ r.round.operator }}
{% trans 'started' %} / {% trans 'finished' %} {{ r.round.started_at }} / {{ r.round.finished_at }}
{% for p in r.panel %} {% endfor %} {% for step in r.reply_data %} {% for rd in step %} {% if not forloop.first %} {% else %} {% endif %} {% endfor %} {% endfor %}
{% trans 'Step' %}{{ p }}
{{ rd.0|value_or_nothing }} {% comment %} explicitly test for None to catch actual zeroes e.g. in int/hed {% endcomment %} {% if rd.1 != None %} {{ rd.1 }} {% endif %} {{ rd }}
{% endfor %} {% endif %} {% endblock content %}