Start work on updating services

This commit is contained in:
Deon George
2022-04-19 17:07:39 +10:00
parent ebf08ea414
commit 621a132e35
63 changed files with 1038 additions and 612 deletions

View File

@@ -16,6 +16,6 @@ trait ScopeServiceUserAuthorised
public function scopeServiceUserAuthorised($query,User $uo)
{
return $query
->whereIN('ab_service.account_id',$uo->all_accounts()->pluck('id')->unique()->toArray());
->whereIN('services.account_id',$uo->all_accounts()->pluck('id')->unique()->toArray());
}
}