Make it possible to hide locations/stores/QUs/product_groups/task_categories (closes #2222)

This commit is contained in:
Bernd Bestel
2023-05-13 14:24:52 +02:00
parent b5d3e68d68
commit 9cdb0908d6
22 changed files with 323 additions and 58 deletions

View File

@@ -70,3 +70,20 @@ $(window).on("message", function(e)
window.location.reload();
}
});
$("#show-disabled").change(function()
{
if (this.checked)
{
window.location.href = U('/productgroups?include_disabled');
}
else
{
window.location.href = U('/productgroups');
}
});
if (GetUriParam('include_disabled'))
{
$("#show-disabled").prop('checked', true);
}