Enable button for locating a StockLocation
This commit is contained in:
parent
224092e192
commit
35fbb910e8
|
|
@ -215,6 +215,14 @@
|
|||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
|
||||
{% if plugins_enabled and location %}
|
||||
$('#locate-location-button').click(function() {
|
||||
locateItemOrLocation({
|
||||
location: {{ location.pk }},
|
||||
});
|
||||
});
|
||||
{% endif %}
|
||||
|
||||
onPanelLoad('sublocations', function() {
|
||||
loadStockLocationTable($('#sublocation-table'), {
|
||||
params: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue