Use Eloquent ORM global scope instead of using Company::scopeCompanayables() all over the place. In addition, this makes it harder to for a user that is assigned to a company to access unauthorized assets through other entities (e.g: license seats)
Fix dashboard page shows statistics of all companies even when the user is assigned to a company and full multiple companies support is enabled