{% extends "modal_form.html" %}
{% load i18n inventree_extras %}
{% block pre_form_content %}
{% default_currency as currency %}
{% settings_value "PART_INTERNAL_PRICE" as show_internal_price %}
{% if min_total_bom_price %}
{% trans 'Unit Cost' %} |
Min: {% include "price.html" with price=min_unit_bom_price %} |
Max: {% include "price.html" with price=max_unit_bom_price %} |
{% if quantity > 1 %}
{% trans 'Total Cost' %} |
Min: {% include "price.html" with price=min_total_bom_price %} |
Max: {% include "price.html" with price=max_total_bom_price %} |
{% endif %}
{% endif %}
{% if min_total_bom_purchase_price %}
{% trans 'Unit Purchase Price' %} |
Min: {% include "price.html" with price=min_unit_bom_purchase_price %} |
Max: {% include "price.html" with price=max_unit_bom_purchase_price %} |
{% if quantity > 1 %}
{% trans 'Total Purchase Price' %} |
Min: {% include "price.html" with price=min_total_bom_purchase_price %} |
Max: {% include "price.html" with price=max_total_bom_purchase_price %} |
{% endif %}
{% endif %}
{% if min_total_bom_price or min_total_bom_purchase_price %}
{% else %}
{% trans 'No BOM pricing available' %}
|
{% endif %}
{% endif %}
{% if show_internal_price and roles.sales_order.view %}
{% if total_internal_part_price %}