mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Re-add 'new stock item' button
This commit is contained in:
parent
3349d0c0df
commit
ee5722857f
@ -142,7 +142,7 @@
|
||||
<td><b>Purchaseable</b></td>
|
||||
<td>{% include "slide.html" with state=part.purchaseable field='purchaseable' %}</td>
|
||||
{% if part.purchaseable %}
|
||||
<td><Part can be purchased from external suppliers></td>
|
||||
<td>Part can be purchased from external suppliers</td>
|
||||
{% else %}
|
||||
<td><i>Part can be purchased from external suppliers</i></td>
|
||||
{% endif %}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div id='button-toolbar'>
|
||||
<div class='button-toolbar container-fluid' style='float: right;'>
|
||||
{% if part.is_template == False %}
|
||||
{% if not part or part.is_template == False %}
|
||||
<button class="btn btn-success" id='item-create'>New Stock Item</button>
|
||||
{% endif %}
|
||||
<div class="dropdown" style='float: right;'>
|
||||
|
Loading…
Reference in New Issue
Block a user