Started cpe shipping
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user