{% extends "base.html" %} {% from "manufacturing/_macros.html" import mo_badge, qty with context %} {% block title %}{{ t('Production Schedule') }}{% endblock %} {% block content %}
{{ t('Open production orders over the next eight weeks, and the hours each work centre still has to work.') }}
| {{ t('Order') }} | {{ t('Product') }} | {{ t('Qty') }} | {% for w in weeks %}{{ w.strftime('%d %b') }} | {% endfor %}{{ t('Status') }} | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.number }}{% if r.pcode %} {{ r.pcode }}{% endif %} |
{{ nm(r) }} | {{ qty(r.quantity) }} | {% for c in r.cells %}{% if c %}{% endif %} | {% endfor %}{{ mo_badge(r.state) }} | |||||||
| {{ t('Nothing scheduled.') }} | |||||||||||
| {{ t('Work centre') }} | {% for w in weeks %}{{ w.strftime('%d %b') }} | {% endfor %}|||||||
|---|---|---|---|---|---|---|---|---|
| {{ key[0] }} · {{ nm({'name_en': key[1], 'name_ar': key[2]}) }} | {% for m in mins %}{% set h = m / 60 %}{% set cap = (key[3] or 8) * 5 %}{{ '%.0f' % h if m else '·' }} | {% endfor %}|||||||
| {{ t('No open operations.') }} | ||||||||
{{ t('Red: more than the work centre can do in a five-day week. Work still to do on orders already late is counted in the first week.') }}