Showing counts in order list when filtering for business customers
This commit is contained in:
@@ -130,6 +130,11 @@ class OrderController extends mfBaseController {
|
||||
}
|
||||
}
|
||||
|
||||
// always show counts if filtering for business customers
|
||||
if(array_key_exists("customer_type", $filter) && $filter['customer_type'] == "business") {
|
||||
$showLoneliesCount = true;
|
||||
}
|
||||
|
||||
if($showLonelies || $showLoneliesCount) {
|
||||
$userIds = $this->me->getAddressOrParent()->getUserIds();
|
||||
//var_dump($userIds);exit;
|
||||
|
||||
Reference in New Issue
Block a user