{% extends "base.html" %} {% load static %} {% block page_title %} InvenTree | {{ company.name }} - Parts {% endblock %} {% block content %}

Supplier Part


Supplier Part Details

{% if part.URL %} {% endif %} {% if part.description %} {% endif %} {% if part.manufacturer %} {% endif %} {% if part.note %} {% endif %}
Internal Part {% if part.part %} {{ part.part.full_name }} {% endif %}
Supplier{{ part.supplier.name }}
SKU{{ part.SKU }}
URL{{ part.URL }}
Description{{ part.description }}
Manufacturer{{ part.manufacturer }}
MPN{{ part.MPN }}
Note{{ part.note }}

Pricing Information

{% if part.base_cost > 0 %} {% endif %} {% if part.price_breaks.all %} {% for pb in part.price_breaks.all %} {% endfor %} {% else %} {% endif %}
Order Multiple{{ part.multiple }}
Base Price (Flat Fee){{ part.base_cost }}
Price Breaks
Quantity Price
{{ pb.quantity }} {{ pb.cost }}
No price breaks have been added for this part

Purchase Orders

{% include "order/po_table.html" with orders=part.purchase_orders %} {% endblock %} {% block js_ready %} {{ block.super }} $('#edit-part').click(function () { launchModalForm( "{% url 'supplier-part-edit' part.id %}", { reload: true } ); }); $('#delete-part').click(function() { launchModalForm( "{% url 'supplier-part-delete' part.id %}", { redirect: "{% url 'company-index' %}" } ); }); $('#new-price-break').click(function() { launchModalForm("{% url 'price-break-create' %}", { reload: true, data: { part: {{ part.id }}, } } ); }); $('.pb-edit-button').click(function() { var button = $(this); launchModalForm(button.attr('url'), { reload: true, } ); }); $('.pb-delete-button').click(function() { var button = $(this); launchModalForm(button.attr('url'), { reload: true, } ); }); {% endblock %}