Progress on order progress to provisioning

This commit is contained in:
Deon George
2020-04-23 17:38:09 +10:00
parent 3b168af492
commit 4935a9f5ff
8 changed files with 229 additions and 15 deletions

View File

@@ -462,7 +462,6 @@ class User extends Authenticatable
public function client_service_movements(): DatabaseCollection
{
return Service::active()
->select(['id','account_id','product_id','order_status','model','order_info'])
->where('order_status','!=','ACTIVE')
->whereIN('account_id',$this->all_accounts()->pluck('id')->unique()->toArray())
->with(['account','product'])