{% extends "base.html" %} {% from "_macros.html" import money %} {% block title %}Aufträge{% endblock %} {% block heading %}Aufträge{% endblock %} {% block topbar_actions %}
+ Neuer Auftrag {% endblock %} {% block content %} {% if orders %} {% endif %} {% if orders %}| Auftrags-Nr. | Datum | Kunde | Land | Referenz | Liefertermin | Pos. | Netto | Brutto | Status | Produktion | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ o.order_no }} | {{ o.order_date }} | {{ cust_name }} {% if cust_is_biz == 0 %}B2C{% endif %} | {{ cust_iso }} | {{ o.customer_reference or '—' }} | {{ o.due_date or '—' }} | {{ o.line_count }} | {{ money(o.subtotal_net) }} | {{ money(o.total_gross) }} {{ o.currency }} | {% set color = STATUS_COLOR.get(o.status, 'neutral') %} {{ STATUS_LABELS.get(o.status, o.status) }} ▾ |
{% if p_total == 0 %}
— kein Plan
{% else %}
{{ p_done }}/{{ p_total }}
{% if p_pct >= 100 %}
✓ Fertig
{% elif o.prod_current_step %}
▶ {{ o.prod_current_step }}
{% elif o.prod_next_step %}
→ {{ o.prod_next_step }}
{% else %}
wartet
{% endif %}
{% endif %}
|
Öffnen |