Started cpe shipping

This commit is contained in:
Frank Schubert
2021-10-19 23:48:34 +02:00
parent 40be8b1d51
commit 40b32b63ec
8 changed files with 241 additions and 7 deletions

View File

@@ -155,6 +155,24 @@ class CpeprovisioningModel {
}
}
if(array_key_exists("shipping", $filter)) {
$shipping = $filter['shipping'];
if($shipping) {
$where .= " AND shipping=1";
} else {
$where .= " AND shipping=0";
}
}
if(array_key_exists("shipped", $filter)) {
$shipped = $filter['shipped'];
if($shipped) {
$where .= " AND shipped=1";
} else {
$where .= " AND shipped=0";
}
}
//var_dump($filter, $where);exit;
return $where;
}