|
|
@@ -108,7 +108,7 @@ class MasterWorkerLists extends BaseAdminDataLists implements ListsSearchInterfa
|
|
|
->order($orders)
|
|
|
->select()->toArray();
|
|
|
$workCount = array_column(ServiceWork::where('master_worker_id','>',0)
|
|
|
- ->whereNotIn('work_status', [7,8])
|
|
|
+ ->whereNotIn('work_status', [7,8,9])
|
|
|
->whereIn('master_worker_id', array_column($list, 'id'))
|
|
|
->field(['master_worker_id',Db::raw('COUNT(id) as work_total')])
|
|
|
->group('master_worker_id')
|