{% extends "base.html" %} {% block content %}

Work Order: {{ work_order.order_number }}

{{ work_order.status|title }}
Details
Due Date
{% if work_order.due_date and work_order.due_date is not string %} {{ work_order.due_date.strftime('%Y-%m-%d') }} {% else %} {{ work_order.due_date or '' }} {% endif %}
Redmine ID
{{ work_order.redmine or 'Not specified' }}
{% if work_order.calibrations %}
Associated Calibrations
{% for cal in work_order.calibrations %} {% endfor %}
Channel Date Status
{{ cal.channel.serial_number }} {{ cal.date.strftime('%Y-%m-%d') }} {% if cal.passed %} Passed {% else %} Failed {% endif %}
{% endif %}
Back to List {% if work_order.status == 'completed' %} Download Certificate {% endif %}
{% endblock %}