{% extends "base.html" %} {% block title %}Baugruppen{% endblock %} {% block heading %}Baugruppen{% endblock %} {% block topbar_actions %} + Neue Baugruppe {% endblock %} {% block content %}
| Ident | Bezeichnung | Typ | BOM | Pos. | Bestand | Ø Preis | Σ verkauft | Kunden | Letzter Verkauf | Status | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ a.ident or '—' }} | {% if a.item_type %} {{ ITEM_TYPE_LABELS.get(a.item_type, a.item_type) }} {% endif %} | {% if a.active_version %} v{{ a.active_version }} {% else %} — {% endif %} /{{ a.bom_count }} | {{ a.line_count or 0 }} | {% if a.quantity_total is not none %} {{ a.quantity_total }} {% if a.quantity_min %} / min {{ a.quantity_min }} {% endif %} {% else %} — {% endif %} | {% if a.avg_sale_price %} {{ "%.2f"|format(a.avg_sale_price) }} € {% else %} — {% endif %} | {{ (a.total_sold_qty or 0)|int }} | {% if a.customer_count %} {{ a.customer_count }} {% if a.customer_count == 1 %}Kunde{% else %}Kunden{% endif %} {% else %} — {% endif %} | {{ (a.last_sold_at or '')[:10] or '—' }} | {% if a.open_complaints and a.open_complaints > 0 %} 🔴 {{ a.open_complaints }} Rekl. {% elif a.below_min %} ⚠️ Min {% elif a.active_version %} ✓ aktiv {% else %} inaktiv {% endif %} | Detail → |
Eine Baugruppe entsteht, sobald ein Artikel eine Stückliste bekommt. Lege einen Artikel an und füge ihm im BOM-Tab Positionen hinzu.
{% if q or item_type or status %} × Filter zurücksetzen {% else %} + Neuen Artikel anlegen Zu allen Artikeln {% endif %}