{% extends "base.html" %} {% from "manufacturing/_macros.html" import qty with context %} {% block title %}{{ t('Bills of Materials') }}{% endblock %} {% block content %}
| {{ t('Product') }} | {{ t('Reference') }} | {{ t('Batch') }} | {{ t('Components') }} | {{ t('Operations') }} | {{ t('Material / unit') }} | {{ t('Labour / unit') }} | {{ t('Cost / unit') }} |
|---|---|---|---|---|---|---|---|
| {{ nm(r) }} {{ r.pcode }} | {{ r.code or '—' }} | {{ qty(r.quantity) }} {{ r.uom or '' }} | {{ r.n_lines }} | {{ r.n_ops }} | {{ ((c.material / r.quantity)|round|int)|money }} | {{ ((c.conversion / r.quantity)|round|int)|money }} | {{ (c.unit|round|int)|money }} |
| {{ t('No bills of materials yet.') }} | |||||||