{% extends "report/inventree_report_base.html" %} {% load i18n %} {% load inventree_extras %} {% block page_content %} {% with routing=part.mbom_routing %}
|
{% trans "Part IPN / Number" %}
{{ part.IPN|default:part.name }}
|
{% trans "Part Description" %}
{{ part.description|default:"—" }}
|
{% trans "Revision" %}
{{ part.revision|default:"—" }}
|
{% trans "Standard Batch Size" %}
{{ routing.standard_batch_size|default:1 }} {% trans "units" %}
|
| {% trans "Seq" %} | {% trans "Operation / Instructions" %} | {% trans "Workcenter / Machine" %} | {% trans "Labor Role" %} | {% trans "Setup" %} | {% trans "Cycle" %} | {% trans "Price" %} | {% trans "Overhead" %} | {% trans "Total Unit Cost" %} | {% trans "CO₂ / Unit" %} | {% trans "Sign-Off" %} |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ op.sequence_number }} |
{{ op.name }}
{% if op.description %} {{ op.description }}{% endif %} |
{% if op.is_parent_operation %} — {% elif op.machine_center %} {{ op.machine_center.name }} {{ op.machine_center.hourly_rate|floatformat:2 }} {{ op.machine_center.currency }}/hr {% else %} — {% endif %} | {% if op.is_parent_operation %} — {% elif op.labor_rate %} {{ op.labor_rate.name }} {{ op.labor_rate.hourly_rate|floatformat:2 }} {{ op.labor_rate.currency }}/hr {% else %} — {% endif %} | {% if op.is_parent_operation %}—{% else %}{{ op.setup_time_minutes|floatformat:1 }} m{% endif %} | {% if op.is_parent_operation %}—{% else %}{{ op.run_time_per_unit_minutes|floatformat:1 }} m{% endif %} | {% if op.is_parent_operation %}—{% else %}{{ op.base_per_unit_cost|floatformat:4 }}{% endif %} | {% if op.is_parent_operation %}—{% else %}{{ op.overhead_per_unit_cost|floatformat:4 }}{% endif %} | {% if op.is_parent_operation %}—{% else %}{{ op.per_unit_cost|floatformat:4 }}{% endif %} | {% if op.is_parent_operation %}—{% else %}{{ op.co2_per_unit|floatformat:4 }} kg{% endif %} | |
| ↳ {{ sub.sequence_number }} |
{{ sub.name }}
{% if sub.description %} {{ sub.description }}{% endif %} |
{% if sub.machine_center %} {{ sub.machine_center.name }} {{ sub.machine_center.hourly_rate|floatformat:2 }} {{ sub.machine_center.currency }}/hr {% else %} — {% endif %} | {% if sub.labor_rate %} {{ sub.labor_rate.name }} {{ sub.labor_rate.hourly_rate|floatformat:2 }} {{ sub.labor_rate.currency }}/hr {% else %} — {% endif %} | {{ sub.setup_time_minutes|floatformat:1 }} m | {{ sub.run_time_per_unit_minutes|floatformat:1 }} m | {{ sub.base_per_unit_cost|floatformat:4 }} | {{ sub.overhead_per_unit_cost|floatformat:4 }} | {{ sub.per_unit_cost|floatformat:4 }} | {{ sub.co2_per_unit|floatformat:4 }} kg | |
| {% trans "Total" %}: | {{ routing.total_setup_time_minutes|floatformat:1 }} m | {{ routing.total_run_time_per_unit_minutes|floatformat:1 }} m | {{ routing.per_unit_base_cost|floatformat:4 }} | {{ routing.per_unit_overhead_cost|floatformat:4 }} | {{ routing.per_unit_manufacturing_cost|floatformat:4 }} | {{ routing.per_unit_co2_kg|floatformat:4 }} kg | ||||
{% trans "This assembly part does not have an active mBOM routing. Create one in the InvenTree Part Pricing tab to generate shop-floor travelers and labor/machine operation breakdown." %}