mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
working on users
This commit is contained in:
parent
916e20d902
commit
5f4e40162b
@ -536,6 +536,7 @@ class UserController extends BaseController
|
||||
*/
|
||||
public function bulk()
|
||||
{
|
||||
/* Validate restore() here and check if restoring the user will exceed their user quote (hosted only)*/
|
||||
$action = request()->input('action');
|
||||
|
||||
$ids = request()->input('ids');
|
||||
|
@ -37,7 +37,7 @@ class CanAddUserRule implements Rule
|
||||
// ->count();
|
||||
|
||||
// return $count < auth()->user()->company()->account->num_users;
|
||||
return auth()->user()->company()->account->users->count() < auth()->user()->company()->account->num_users;
|
||||
//return auth()->user()->company()->account->users->count() < auth()->user()->company()->account->num_users;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -116,7 +116,7 @@ class CreateAccount
|
||||
$spaa9f78->fresh();
|
||||
|
||||
if(Ninja::isHosted()){
|
||||
nlog("welcome");
|
||||
|
||||
App::forgetInstance('translator');
|
||||
$t = app('translator');
|
||||
$t->replace(Ninja::transformTranslations($sp035a66->settings));
|
||||
|
Loading…
x
Reference in New Issue
Block a user