修改群呼队列生成
This commit is contained in:
parent
94c2e230b8
commit
7b56d4ad1e
|
|
@ -38,7 +38,7 @@ class IndexController extends Controller
|
|||
//总客户数
|
||||
$customerCount = Customer::count();
|
||||
//我的客户数
|
||||
$myCustomerCount = Customer::where('owner_user_id','=',auth()->user()->id)->count();
|
||||
$myCustomerCount = Customer::where('owner_user_id','=',auth()->user()->id)->where('status',3)->count();
|
||||
return View::make("index.console",compact('departmentCount','userCount','customerCount','myCustomerCount'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue