mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
JS linting
This commit is contained in:
@ -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.add %}
|
||||||
{% if order.is_pending or allow_extra_editing %}
|
{% if order.is_pending or allow_extra_editing %}
|
||||||
<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" %}
|
||||||
|
@ -1421,7 +1421,8 @@ function loadBuildOutputTable(build_info, options={}) {
|
|||||||
items: stock_id_values,
|
items: stock_id_values,
|
||||||
key: 'item',
|
key: 'item',
|
||||||
url: '{% url "api-stockitem-label-list" %}',
|
url: '{% url "api-stockitem-label-list" %}',
|
||||||
}); });
|
});
|
||||||
|
});
|
||||||
|
|
||||||
$('#outputs-expand').click(function() {
|
$('#outputs-expand').click(function() {
|
||||||
$(table).bootstrapTable('expandAllRows');
|
$(table).bootstrapTable('expandAllRows');
|
||||||
|
@ -315,5 +315,5 @@ function loadExtraLineTable(options={}) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user