{% load i18n %} {% load inventree_extras %} {% if not roles.part.change %}
{% trans "You do not have permission to edit the BOM." %}
{% endif %} {% if part.bom_checked_date %} {% if part.is_bom_valid %}
{% else %}
{% trans "The BOM this part has been changed, and must be validated" %} {% endif %} {% blocktrans with part=part.full_name checker=part.bom_checked_by check_date=part.bom_checked_date %}This BOM was last checked by {{ checker }} on {{ check_date }}{% endblocktrans %}
{% else %}
{% trans "This BOM has not been validated." %}
{% endif %}
{% include "filter_list.html" with id="bom" %}