mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Don't show add company if reseller type B
This commit is contained in:
parent
692e17da58
commit
53a083813f
@ -298,7 +298,7 @@
|
||||
])
|
||||
@endif
|
||||
<li class="divider"></li>
|
||||
@if (Utils::isAdmin() && Auth::user()->confirmed)
|
||||
@if (Utils::isAdmin() && Auth::user()->confirmed && Utils::getResllerType() != RESELLER_ACCOUNT_COUNT)
|
||||
@if (count(session(SESSION_USER_ACCOUNTS)) > 1)
|
||||
<li>{!! link_to('/manage_companies', trans('texts.manage_companies')) !!}</li>
|
||||
@elseif (!session(SESSION_USER_ACCOUNTS) || count(session(SESSION_USER_ACCOUNTS)) < 5)
|
||||
|
Loading…
x
Reference in New Issue
Block a user