{% extends "base.html" %} {% block title %}{{ t('Quality Checks') }}{% endblock %} {% block content %}
| {{ t('Production order') }} | {{ t('Product') }} | {{ t('Check') }} | {{ t('Specification') }} | {{ t('Result') }} | {{ t('Checked by') }} | {{ t('When') }} |
|---|---|---|---|---|---|---|
| {{ r.number }} | {{ nm(r) }} | {{ r.name }} | {% if r.kind == 'measure' %}{{ r.min_value if r.min_value is not none else '…' }} – {{ r.max_value if r.max_value is not none else '…' }} {{ r.unit or '' }}{% else %}{{ t('Pass / fail') }}{% endif %} | {% if r.result %}{{ t('Pass') if r.result == 'pass' else t('Fail') }}{% if r.value is not none %} {{ r.value }} {{ r.unit or '' }}{% endif %} {% elif r.mo_state in ('done', 'cancelled') %}—{% else %}{{ t('To check') }}{% endif %} | {{ r.full_name or '' }} | {{ (r.checked_at or '')[:16]|replace('T', ' ') }} |
| {{ t('No quality checks yet.') }} | ||||||