{% extends "base.html" %} {% block title %}Meine Aufgaben{% endblock %} {% block breadcrumb %}
Heute · {{ tasks.today }}
{% endblock %} {% block heading %}Meine Aufgaben — {{ user_label }}{% endblock %} {% block topbar_actions %} {{ tasks.total_count }} {% if tasks.total_count == 1 %}Eintrag{% else %}Einträge{% endif %} aktiv {% endblock %} {% block content %} {% if tasks.total_count == 0 and not tasks.open_rentals and not tasks.time_open and not tasks.vacation_today %}☕
Aktuell sind dir keine Aufgaben zugewiesen.
Sobald jemand dir einen Auftrag, eine Anfrage oder einen Fertigungs-Schritt zuweist, erscheint er hier.
Aktive Prozess-Schritte auf deinen Jobs
| Job | Stufe | Auftrag | Kunde |
|---|---|---|---|
| {{ s.job_ident }} | {{ s.step_name }} | {{ s.order_no or '—' }} | {{ s.customer or '—' }} |
{{ tasks.production_jobs|length }} aktiv
| Job-Nr | Maschine | Auftrag | Kunde | Liefertermin | Fortschritt | Status |
|---|---|---|---|---|---|---|
| {{ j.ident }} | {{ j.machine_name or '—' }} | {{ j.order_no or '—' }} | {{ j.customer or '—' }} | {{ j.due_date or '—' }} | {{ j.qty_done }} / {{ j.qty_target }} | {% if j.status == 'running' %}läuft {% elif j.status == 'paused' %}pausiert {% elif j.status == 'queued' %}geplant {% else %}{{ j.status }}{% endif %} |
Geplant — kalkulieren und Angebot erstellen
| Nr. | Betreff | Kunde | Stk | Stunden/Stk | Status |
|---|---|---|---|---|---|
| {{ i.inquiry_no }} | {{ i.subject }} | {{ i.customer_name or '—' }} | {{ i.plan.qty or '—' }} | {{ i.plan.hours_per_unit or '—' }} | {% if i.status == 'quoted' %}Angeboten{% else %}Offen{% endif %} |
{{ 'Arbeit' if t.entry_type == 'work' else 'Pause' }} seit {{ t.started_at[:16] }} {% if t.production_job_id %}auf Job #{{ t.production_job_id }}{% endif %}
{% endfor %} → Zur Zeiterfassung{{ tasks.open_rentals|length }} offen
| Artikel | Beschreibung | Menge | Maschine | Ausgegeben |
|---|---|---|---|---|
| {{ r.item_ident or '—' }} | {{ r.item_description or '—' }} | {{ r.quantity }} | {{ r.machine_name or '—' }} | {{ r.rented_at[:16] }} |
{{ v.start_date }} – {{ v.end_date }} ({{ v.days }} Werktage)
{% endfor %}