Add possibility to filter by product group on stock overview page

This commit is contained in:
Bernd Bestel
2018-10-06 18:19:31 +02:00
parent 132999ce36
commit 03eaa6c79f
4 changed files with 28 additions and 1 deletions

View File

@@ -31,6 +31,17 @@ $("#location-filter").on("change", function()
stockOverviewTable.column(4).search(value).draw();
});
$("#product-group-filter").on("change", function()
{
var value = $(this).val();
if (value === "all")
{
value = "";
}
stockOverviewTable.column(6).search(value).draw();
});
$("#status-filter").on("change", function()
{
var value = $(this).val();