{% extends 'print_base.html' %} {% load wnsq_tags %} {% block header %} Measurement report {{ object.sample }} {% endblock header %} {% block content %}

Sample analysis report


Sample
Identifier {{ object.sample }}
Bag {{ object.sample.contained_in }}
Project {{ object.sample.project|value_or_nothing }}
{% if is_reference %}
Reference gas information
Substance (Concentration) {{ object.sample.cylinder.get_substance_display }} ({{ object.sample.cylinder.concentration|floatformat:2 }} ppm)
Cylinder (Number) {{ object.sample.cylinder.name }} ({{ object.sample.cylinder.number }})
date of expiry {{ object.sample.cylinder.expires_at|date:"SHORT_DATE_FORMAT" }}
{% endif %}
Sampling
Sampling date {{ object.sample.sampled_at|date:"SHORT_DATE_FORMAT" }} - {{ object.sample.sampled_at|time }}
Predilution {% if object.sample.total_dilution == 1 %} {% nothing %} {% else %} {{ object.sample.total_dilution|floatformat:2 }} {% endif %}
Measurement
Location {{ object.location }} ({{ object.temperature|floatformat:1 }} C°)
Date and Duration {{ object.started_at|date:"SHORT_DATE_FORMAT" }}
{{ object.started_at|time }} {% nothing %} {{ object.finished_at|time }}
Olfactometer {{ object.olfactometer }}
Calibration valid until {{ object.olfactometer.calibration.valid_to|date:"SHORT_DATE_FORMAT" }}
Method {{ object.get_used_method_display }}
Presentation time (ms) {{ 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 %}
Result
Measurement result {% if object.result %} {% if not object.compliant_result %}({% endif %} {{ object.result|floatformat:2 }} {% if not object.compliant_result %}){% endif %}  OUE ⁄ m3  ({{ result_in_db_measurement|floatformat:2 }} dB) {% else %} {% nothing %} {% endif %}
Zite,pan {% if object.analysis_result %} {{ object.analysis_result|floatformat:2 }} {% else %} {% nothing %} {% endif %}
Note: indication in OUE ⁄ m3 only applicable for measurements in accordance with the traceability requirements of the EN13725. This measurement does {% if not object.compliant_result %}not{% endif %} fulfil all requirements to indicate the result as a panel threshold with respect to the EN13725.
{% endif %} {% if object.comments %}
Comments
{{ 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 %}
Round {{ r.number }} {% if not r.is_included %} (discarded) {% endif %}
Panellist ITE ΔZ0-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 %}
Round {{ forloop.counter }} ({{ object.sample }} in {{ object.sample.contained_in }} {% if object.sample.project %} , Project: {{ object.sample.project }}) {% else %} ) {% endif %}
Operator {{ r.round.operator }}
Start/End {{ 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 %}
Dilution{{ 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 %}