{% load humanize %}
 
TDY
JTD
MTD
 
TDY
JTD
MTD
 
TDY
JTD
MTD
{% for line_block in prolog_job %}
Line: {{ line_block.line_id }}
Job: {{ line_block.job_id }}
Product: {{ line_block.product }}
Qty Ordered: {{ line_block.qty_ordered | floatformat:'0' | intcomma }}
Chg Code: {{ line_block.cln_code }}
Sts: {{ line_block.status }}
NSch:
SPT:
Cln:
TOT:
SRT:
Run:
Oth:
{% if line_block.tdy_nsch < 10 %} {% endif %}{{ line_block.tdy_nsch | rjust:"5" }}
{% if line_block.tdy_spt < 10 %} {% endif %}{{ line_block.tdy_spt | rjust:"5" }} / {% if line_block.tdy_spt_pct < 100 %} {% endif %}{{ line_block.tdy_spt_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.tdy_cln < 10 %} {% endif %}{{ line_block.tdy_cln | rjust:"5" }}
{% if line_block.tdy_tot < 10 %} {% endif %}{{ line_block.tdy_tot | rjust:"5" }}
{% if line_block.tdy_srt < 10 %} {% endif %}{{ line_block.tdy_srt | rjust:"5" }} / {% if line_block.tdy_srt_pct < 100 %} {% endif %}{{ line_block.tdy_srt_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.tdy_run < 10 %} {% endif %}{{ line_block.tdy_run | rjust:"5" }} / {% if line_block.tdy_run_pct < 100 %} {% endif %}{{line_block.tdy_run_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.tdy_oth < 10 %} {% endif %}{{ line_block.tdy_oth | rjust:"5" }}
{% if line_block.jtd_nsch < 10 %} {% endif %}{{ line_block.jtd_nsch | rjust:"5" }}
{% if line_block.jtd_spt < 10 %} {% endif %}{{ line_block.jtd_spt | rjust:"5" }} / {% if line_block.jtd_spt_pct < 100 %} {% endif %}{{ line_block.jtd_spt_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.jtd_cln < 10 %} {% endif %}{{ line_block.jtd_cln | rjust:"5" }}
{% if line_block.jtd_tot < 10 %} {% endif %}{{ line_block.jtd_tot | rjust:"5" }}
{% if line_block.jtd_srt < 10 %} {% endif %}{{ line_block.jtd_srt | rjust:"5" }} / {% if line_block.jtd_srt_pct < 100 %} {% endif %}{{ line_block.jtd_srt_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.jtd_run < 10 %} {% endif %}{{ line_block.jtd_run | rjust:"5" }} / {% if line_block.jtd_run_pct < 100 %} {% endif %}{{ line_block.jtd_run_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.jtd_oth < 10 %} {% endif %}{{ line_block.jtd_oth | rjust:"5" }}
{% if line_block.mtd_nsch < 10 %} {% endif %}{{ line_block.mtd_nsch | rjust:"5" }}
{% if line_block.mtd_spt < 10 %} {% endif %}{{ line_block.mtd_spt | rjust:"5" }} / {% if line_block.mtd_spt_pct < 100 %} {% endif %}{{ line_block.mtd_spt_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.mtd_cln < 10 %} {% endif %}{{ line_block.mtd_cln | rjust:"5" }}
{% if line_block.mtd_tot < 10 %} {% endif %}{{ line_block.mtd_tot | rjust:"5" }}
{% if line_block.mtd_srt < 10 %} {% endif %}{{ line_block.mtd_srt | rjust:"5" }} / {% if line_block.mtd_srt_pct < 100 %} {% endif %}{{ line_block.mtd_srt_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.mtd_run < 10 %} {% endif %}{{ line_block.mtd_run | rjust:"5" }} / {% if line_block.mtd_run_pct < 100 %} {% endif %}{{ line_block.mtd_run_pct | floatformat:'0' | rjust:"3" }}
{% if line_block.mtd_oth < 10 %} {% endif %}{{ line_block.mtd_oth | rjust:"5" }}
FG Prod:
Act Rate:
Avg Rate:
{{ line_block.tdy_fg_prd | floatformat:'0' | intcomma }}
{{ line_block.tdy_act_rate | floatformat:'0' | intcomma }}
{{ line_block.tdy_avg_rate | floatformat:'0' | intcomma }}
{{ line_block.jtd_fg_prd | floatformat:'0' | intcomma }}
{{ line_block.jtd_act_rate | floatformat:'0' | intcomma }}
{{ line_block.jtd_avg_rate | floatformat:'0' | intcomma }}
{{ line_block.mtd_fg_prd | floatformat:'0' | intcomma }}
{{ line_block.mtd_act_rate | floatformat:'0' | intcomma }}
{{ line_block.mtd_avg_rate | floatformat:'0' | intcomma }}
RWPrd:
RWCon:
SCPrd:
{{ line_block.tdy_rw_prd | floatformat:'0' | intcomma }}
{{ line_block.tdy_rw_con | floatformat:'0' | intcomma }}
{{ line_block.tdy_sc_prd | floatformat:'0' | intcomma }}
{{ line_block.jtd_rw_prd | floatformat:'0' | intcomma }}
{{ line_block.jtd_rw_con | floatformat:'0' | intcomma }}
{{ line_block.jtd_sc_prd | floatformat:'0' | intcomma }}
{{ line_block.mtd_rw_prd | floatformat:'0' | intcomma }}
{{ line_block.mtd_rw_con | floatformat:'0' | intcomma }}
{{ line_block.mtd_sc_prd | floatformat:'0' | intcomma }}
{% for down in line_block.downtime %}
{{ down.prolog.team }} {{ down.hrs }} {{ down.code }} {{ down.code.group }} {{ down.code.description }}
{% endfor %}
{% if show_comments %}
TL
Planning & People
Raw Materials & Blending
Feeding/Cpding/Pelletizing
Products & Testing
{% for comment in line_block.comments %} {% if comment.people != '' or comment.raw_materials != '' or comment.processing != '' or comment.product != '' %}
{{ comment.team }}
{{ comment.people }}
{{ comment.raw_materials }}
{{ comment.processing }}
{{ comment.product }}
{% endif %} {% endfor %}
 
{% endif %} {% endfor %}