mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
added permissions-check to bom
This commit is contained in:
parent
c8ff6ee0e2
commit
522ca161d6
@ -140,7 +140,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='panel panel-default panel-inventree'>
|
||||
<div class='panel-heading'>
|
||||
<h4>{% trans "Purchase Price" %}</h4>
|
||||
@ -183,6 +182,7 @@
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if part.has_bom and roles.sales_order.view %}
|
||||
<div class='panel panel-default panel-inventree'>
|
||||
<div class='panel-heading'>
|
||||
<h4>{% trans "BOM Cost" %}</h4>
|
||||
@ -204,6 +204,8 @@
|
||||
{% endif %}
|
||||
</div></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if part.salable and roles.sales_order.view %}
|
||||
<div class='panel panel-default panel-inventree'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user