mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Adds an endpoint for calling the plugin code to "locate" something
This commit is contained in:
@ -520,6 +520,14 @@ $("#barcode-scan-into-location").click(function() {
|
||||
});
|
||||
});
|
||||
|
||||
{% if plugins_enabled %}
|
||||
$('#locate-item-button').click(function() {
|
||||
locateItemOrLocation({
|
||||
item: {{ item.pk }},
|
||||
});
|
||||
});
|
||||
{% endif %}
|
||||
|
||||
function itemAdjust(action) {
|
||||
|
||||
inventreeGet(
|
||||
|
Reference in New Issue
Block a user