mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 18:45:40 +00:00
JS linting
This commit is contained in:
@ -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={}) {
|
||||
}
|
||||
},
|
||||
]
|
||||
})
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user