mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Adds a tab for "allocations"
This commit is contained in:
parent
d25397e95c
commit
3889baf37a
@ -37,6 +37,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class='panel panel-hidden' id='panel-allocations'>
|
||||||
|
<div class='panel-heading'>
|
||||||
|
<div class='d-flex flex-wrap'>
|
||||||
|
<h4>{% trans "Part Allocations" %}</h4>
|
||||||
|
{% include "spacer.html" %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class='panel-content'>
|
||||||
|
<table class='table table-striped table-condensed' id='part-allocation-table'></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class='panel panel-hidden' id='panel-test-templates'>
|
<div class='panel panel-hidden' id='panel-test-templates'>
|
||||||
<div class='panel-heading'>
|
<div class='panel-heading'>
|
||||||
<div class='d-flex flex-wrap'>
|
<div class='d-flex flex-wrap'>
|
||||||
|
@ -27,6 +27,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% trans "Pricing" as text %}
|
{% trans "Pricing" as text %}
|
||||||
{% include "sidebar_item.html" with label="pricing" text=text icon="fa-dollar-sign" %}
|
{% include "sidebar_item.html" with label="pricing" text=text icon="fa-dollar-sign" %}
|
||||||
|
{% if part.salable or part.component %}
|
||||||
|
{% trans "Allocations" as text %}
|
||||||
|
{% include "sidebar_item.html" with label="allocations" text=text icon="fa-bookmark" %}
|
||||||
|
{% endif %}
|
||||||
{% if part.purchaseable and roles.purchase_order.view %}
|
{% if part.purchaseable and roles.purchase_order.view %}
|
||||||
{% trans "Suppliers" as text %}
|
{% trans "Suppliers" as text %}
|
||||||
{% include "sidebar_item.html" with label="suppliers" text=text icon="fa-building" %}
|
{% include "sidebar_item.html" with label="suppliers" text=text icon="fa-building" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user