{% extends "layout_report.html" %} {% load tz %} {% load humanize %} {% load app_filters %} {% block content %} {{ block.super }}
NCM
Line
Job Ref
Box
Reason
Reslt
Disposition
Date
Shift
Begin
Prod
Cons
End
Location
PostedBy
{% for ncmtrx in ncmtrx_list %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm }}{% endifchanged %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm.reference.line }}{% endifchanged %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm.reference }}{% endifchanged %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm.box | default_if_none:"" | truncatechars:6 }}{% endifchanged %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm.reason | truncatechars:16 }}{% endifchanged %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm.result | truncatechars:4 }}{% endifchanged %}
{% ifchanged ncmtrx.ncm %}{{ ncmtrx.ncm.disposition | truncatechars:10 }}{% endifchanged %}
{{ ncmtrx.transaction_date }}
{{ ncmtrx.shift }}
{{ ncmtrx.begin | floatformat:'0' | intcomma }}
{{ ncmtrx.produced | floatformat:'0' | intcomma }}
{{ ncmtrx.consumed | floatformat:'0' | intcomma }}
{{ ncmtrx.end | floatformat:'0' | intcomma }}
{{ ncmtrx.location | default_if_none:"" }}
{{ ncmtrx.postedby }}
{% endfor %}
{% endblock content %}