mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
UI changes
This commit is contained in:
parent
88fce1e813
commit
c93009876d
@ -18,7 +18,7 @@
|
|||||||
<h4>{% trans "Sales Order Items" %}</h4>
|
<h4>{% trans "Sales Order Items" %}</h4>
|
||||||
{% include "spacer.html" %}
|
{% include "spacer.html" %}
|
||||||
<div class='btn-group' role='group'>
|
<div class='btn-group' role='group'>
|
||||||
{% if roles.sales_order.change %}
|
{% if roles.sales_order.change and order.is_pending %}
|
||||||
<button type='button' class='btn btn-success' id='new-so-line'>
|
<button type='button' class='btn btn-success' id='new-so-line'>
|
||||||
<span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %}
|
<span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %}
|
||||||
</button>
|
</button>
|
||||||
@ -52,9 +52,11 @@
|
|||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if roles.sales_order.change %}
|
||||||
<button type='button' class='btn btn-success' id='new-shipment'>
|
<button type='button' class='btn btn-success' id='new-shipment'>
|
||||||
<span class='fas fa-plus-circle'></span> {% trans "New Shipment" %}
|
<span class='fas fa-plus-circle'></span> {% trans "New Shipment" %}
|
||||||
</button>
|
</button>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1400,7 +1400,7 @@ function loadSalesOrderShipmentTable(table, options={}) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'reference',
|
field: 'reference',
|
||||||
title: '{% trans "Shipment" %}',
|
title: '{% trans "Shipment Reference" %}',
|
||||||
switchable: false,
|
switchable: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user