{% extends 'bom/bom-base.html' %} {% load staticfiles %} {% load materializecss %} {% block head-title %}{{ title }}{% endblock %} {% block main %} {% endblock %} {% block bom-menu %}
  • Cancel
  • {% endblock %} {% block content %}
    {% if profile.role == 'A' %}

    Part Number

    Part numbers must be in the format CCC-{{ organization.number_ns }}-VV where CCC is the Part Number Class, {{ organization.number_ns }} is the part number (number item), and VV is the part variation. To change the part number length, go to your settings. To create part classes, go to the Settings page, and create them in the IndaBOM tab.

    {% csrf_token %} {{ part_form.non_field_errors }} {{ part_form|materializecss:'m4 s12' }}

    Part Properties

    The below fields are optional.

    {% include 'bom/part-revision-display.html' with part_revision_form=part_revision_form %}

    Add a Manufacturer Part

    The below fields are optional.

    Skip this form if your part is a custom part. Leave the manufacturer field unselected if creating a new manufacturer.

    {% csrf_token %} {{ manufacturer_part_form|materializecss:'m4 s12' }} {{ manufacturer_form.non_field_errors }}
    {{ manufacturer_form.name.errors }} {{ manufacturer_form.name }}
    {% else %} {% include 'bom/nothing-to-see.html' with required_privilege='Admin' %} {% endif %}
    {% endblock %}