{% extends "base.html" %} {% block title %}{{ _('Riepilogo') }} - {{ recipe.name }}{% endblock %} {% block content %}
{{ _('Codice') }}
{{ recipe.code }}
{{ _('Nome') }}
{{ recipe.name }}
{{ _('Versione') }}
{{ recipe.current_version.version_number if recipe.current_version else recipe.version }}
{{ _('Lotto') }}
{{ lot_number or '-' }}
{{ _('Seriale') }}
{{ serial_number }}
{{ _('Totale') }}
{{ total_count }}
{{ _('Conformi') }}
{{ pass_count }}
{{ _('Attenzione') }}
{{ warning_count }}
{{ _('Non Conformi') }}
{{ fail_count }}
| {{ _('Data/Ora') }} | {{ _('Task') }} | {{ _('Descrizione') }} | {{ _('Nominale') }} | {{ _('Valore') }} | {{ _('Deviazione') }} | {{ _('Esito') }} | {{ _('Metodo') }} |
|---|---|---|---|---|---|---|---|
| {{ m.measured_at[:16]|replace('T', ' ') if m.measured_at else '-' }} | {{ m.task_info.title if m.task_info else '-' }} | {{ m.subtask.description }} | {{ "%.3f"|format(m.subtask.nominal) }} {{ m.subtask.unit }} | {{ "%.3f"|format(m.value) }} {{ m.subtask.unit }} | {{ "%+.3f"|format(m.deviation) }} | {% if m.pass_fail == 'pass' %} {{ _('Pass') }} {% elif m.pass_fail == 'warning' %} {{ _('Warning') }} {% elif m.pass_fail == 'fail' %} {{ _('Fail') }} {% else %} - {% endif %} |
{% if m.input_method == 'manual' %}
{{ _('Manuale') }}
{% elif m.input_method == 'usb_caliper' %}
{{ _('Calibro') }}
{% else %}
-
{% endif %}
|