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>
|
||||
{% include "spacer.html" %}
|
||||
<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'>
|
||||
<span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %}
|
||||
</button>
|
||||
@ -52,9 +52,11 @@
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if roles.sales_order.change %}
|
||||
<button type='button' class='btn btn-success' id='new-shipment'>
|
||||
<span class='fas fa-plus-circle'></span> {% trans "New Shipment" %}
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1400,7 +1400,7 @@ function loadSalesOrderShipmentTable(table, options={}) {
|
||||
},
|
||||
{
|
||||
field: 'reference',
|
||||
title: '{% trans "Shipment" %}',
|
||||
title: '{% trans "Shipment Reference" %}',
|
||||
switchable: false,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user