mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Adds button for creating a new lien item
This commit is contained in:
parent
55b835f49e
commit
822c68f554
@ -16,7 +16,13 @@
|
|||||||
<div class='d-flex flex-wrap'>
|
<div class='d-flex flex-wrap'>
|
||||||
<h4>{% trans "Line Items" %}</h4>
|
<h4>{% trans "Line Items" %}</h4>
|
||||||
{% include "spacer.html" %}
|
{% include "spacer.html" %}
|
||||||
<!-- TODO: Actions -->
|
<div class='btn-group' role='group'>
|
||||||
|
{% if roles.return_order.add %}
|
||||||
|
<button type='button' class='btn btn-success' id='new-so-line'>
|
||||||
|
<span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %}
|
||||||
|
</button>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='panel-content'>
|
<div class='panel-content'>
|
||||||
@ -33,7 +39,7 @@
|
|||||||
<h4>{% trans "Extra Lines" %}</h4>
|
<h4>{% trans "Extra Lines" %}</h4>
|
||||||
{% include "spacer.html" %}
|
{% include "spacer.html" %}
|
||||||
<div class='btn-group' role='group'>
|
<div class='btn-group' role='group'>
|
||||||
{% if roles.return_order.change %}
|
{% if roles.return_order.add %}
|
||||||
<button type='button' class='btn btn-success' id='new-return-order-extra-line'>
|
<button type='button' class='btn btn-success' id='new-return-order-extra-line'>
|
||||||
<span class='fas fa-plus-circle'></span> {% trans "Add Extra Line" %}
|
<span class='fas fa-plus-circle'></span> {% trans "Add Extra Line" %}
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user