{% extends "page.html" %} {% macro bom_item_row(item, depth=0, visited=[]) %} {% set child_bom = item.child_bom %} {% set child_id = 'bom-detail-children-' ~ child_bom.id ~ '-' ~ depth %} {% set can_expand = child_bom.children and child_bom.id not in visited %}
{{ _('Bill of Materials') }}
| {{ _('BOM number') }} | {{ bom.number }} |
|---|---|
| {{ _('Name') }} | {{ bom.name }} |
| {{ _('Description') }} | {{ bom.description }} |
| {{ _('Estimated cost') }} | {{ format_bom_cost(bom) }} |
{{ ngettext('%(num)s part found.', '%(num)s parts found.', part_rows|length) }}
| {{ _('Part number') }} | {{ _('Name') }} | {{ _('Quantity') }} | |
|---|---|---|---|
| {{ component.number }} | {{ component.name }} | {{ part_row.quantity }} | |
| {{ _('No parts found in this BOM.') }} | |||