mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Enable button for locating a StockLocation
This commit is contained in:
parent
224092e192
commit
35fbb910e8
@ -215,6 +215,14 @@
|
|||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
|
||||||
|
{% if plugins_enabled and location %}
|
||||||
|
$('#locate-location-button').click(function() {
|
||||||
|
locateItemOrLocation({
|
||||||
|
location: {{ location.pk }},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
onPanelLoad('sublocations', function() {
|
onPanelLoad('sublocations', function() {
|
||||||
loadStockLocationTable($('#sublocation-table'), {
|
loadStockLocationTable($('#sublocation-table'), {
|
||||||
params: {
|
params: {
|
||||||
|
Loading…
Reference in New Issue
Block a user