mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
JS linting
This commit is contained in:
parent
822c68f554
commit
034e8eacd0
@ -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.add %}
|
||||
{% if order.is_pending or allow_extra_editing %}
|
||||
<button type='button' class='btn btn-success' id='new-so-line'>
|
||||
<span class='fas fa-plus-circle'></span> {% trans "Add Line Item" %}
|
||||
|
@ -1421,7 +1421,8 @@ function loadBuildOutputTable(build_info, options={}) {
|
||||
items: stock_id_values,
|
||||
key: 'item',
|
||||
url: '{% url "api-stockitem-label-list" %}',
|
||||
}); });
|
||||
});
|
||||
});
|
||||
|
||||
$('#outputs-expand').click(function() {
|
||||
$(table).bootstrapTable('expandAllRows');
|
||||
|
@ -315,5 +315,5 @@ function loadExtraLineTable(options={}) {
|
||||
}
|
||||
},
|
||||
]
|
||||
})
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user