Stückliste

{{ breakdown.ident }} · {{ breakdown.description or '' }}

{{ company_name }}
{% if company_address %}{{ company_address }}
{% endif %} Erstellt: {{ breakdown.bom_id and breakdown.bom_version and '' or '' }} {{ breakdown.bom_version or 'v1' }}
BOM-Version
v{{ breakdown.bom_version }}
Berechnungsmenge
{{ qty }} Stk
Artikel-Typ
{{ breakdown.item_type or '—' }}
Selbstkosten pro Stk
{{ "%.2f"|format(breakdown.total / qty) }} €

Material

{{ "%.2f"|format(breakdown.material_cost) }} €

Operationen

{{ "%.2f"|format(breakdown.operation_cost) }} €

Werkzeuge

{{ "%.2f"|format(breakdown.tool_cost) }} €

Sub-Baugruppen

{{ "%.2f"|format(breakdown.sub_cost) }} €

GESAMT ({{ qty }}×)

{{ "%.2f"|format(breakdown.total) }} €

{% macro render_lines(lines, depth, line_no_base) %} {% for ln in lines %} {# Rekursiv für Sub-Baugruppen #} {% if ln.breakdown %} {{ render_lines(ln.breakdown.lines, depth + 1, line_no_base ~ '.' ~ loop.index) }} {% endif %} {% endfor %} {% endmacro %} {{ render_lines(breakdown.lines, 1, '1') }}
Pos Typ Komponente Menge / Zeit Stundensatz Kosten
{{ line_no_base }}.{{ loop.index }} {% if ln.line_type == 'material' %}MAT {% elif ln.line_type == 'operation' %}OP {% elif ln.line_type == 'sub_assembly' %}SUB {% elif ln.line_type == 'tool' %}WZ {% endif %} {{ ln.name or '—' }} {% if ln.line_type == 'material' and ln.code %} · {{ ln.code }} {% endif %} {% if ln.line_type == 'operation' and ln.machine %} · {{ ln.machine }} {% endif %} {% if ln.line_type == 'sub_assembly' and ln.sub_unit_cost %} · {{ "%.2f"|format(ln.sub_unit_cost) }} €/Stk {% endif %} {% if ln.line_type == 'material' %}{{ "%.3f"|format(ln.qty or 0) }} kg/Stk {% elif ln.line_type == 'operation' %}{{ "%.1f"|format(ln.setup_min or 0) }} R + {{ "%.2f"|format(ln.cycle_min or 0) }}/Stk {% elif ln.line_type == 'sub_assembly' %}{{ "%.0f"|format(ln.qty or 0) }} Stk/Stk {% else %}{{ "%.0f"|format(ln.qty or 0) }} Stk {% endif %} {% if ln.rate %}{{ "%.2f"|format(ln.rate) }} €/h {% elif ln.price_per_kg %}{{ "%.2f"|format(ln.price_per_kg) }} €/kg {% else %}—{% endif %} {{ "%.2f"|format(ln.cost or 0) }} €
↳ Sub-Baugruppe {{ ln.name }} (v{{ ln.breakdown.bom_version }}) — Selbstkosten {{ "%.2f"|format(ln.breakdown.total) }} €/Stk
SUMME ({{ qty }} Stk) {{ "%.2f"|format(breakdown.total) }} €
{# v1.12.1: Zukaufteile / Normalien — wenn Feature aktiv #} {% if feature_bom_print_purchased and purchased_parts_list %}

Zukaufteile / Normalien ({{ purchased_parts_list|length }})

{% for p in purchased_parts_list %} {% endfor %}
Norm SKU Bezeichnung Hersteller Hersteller-Nr. Stk/Baugruppe Gesamt für {{ qty }} Stk
{{ p.norm_reference or '—' }} {{ p.ident }} {{ p.description or '—' }} {{ p.manufacturer or '—' }} {{ p.manufacturer_part_no or '—' }} {{ '%.0f'|format(p.qty or 0) }} {{ '%.0f'|format((p.qty or 0) * qty) }}

Hinweis: Zukaufteile in Sub-Baugruppen werden in deren BOM-Print separat ausgewiesen.

{% endif %}