From 53a083813fb714d0bf57accf6df290de779257d5 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 7 May 2017 16:22:02 +0300 Subject: [PATCH] Don't show add company if reseller type B --- resources/views/header.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 39f1941860b3..040257c4fe18 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -298,7 +298,7 @@ ]) @endif
  • - @if (Utils::isAdmin() && Auth::user()->confirmed) + @if (Utils::isAdmin() && Auth::user()->confirmed && Utils::getResllerType() != RESELLER_ACCOUNT_COUNT) @if (count(session(SESSION_USER_ACCOUNTS)) > 1)
  • {!! link_to('/manage_companies', trans('texts.manage_companies')) !!}
  • @elseif (!session(SESSION_USER_ACCOUNTS) || count(session(SESSION_USER_ACCOUNTS)) < 5)