From f3ecc124945f79cef473161c9568424bb7a070b6 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 9 May 2023 10:14:45 +0900 Subject: [PATCH] Only show intuit link to reseller users --- .../backend/adminlte/common/account/widget/summary.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/theme/backend/adminlte/common/account/widget/summary.blade.php b/resources/views/theme/backend/adminlte/common/account/widget/summary.blade.php index 3a706ad..6e10b6d 100644 --- a/resources/views/theme/backend/adminlte/common/account/widget/summary.blade.php +++ b/resources/views/theme/backend/adminlte/common/account/widget/summary.blade.php @@ -1,4 +1,4 @@ -@if($o->my_accounts->count() <= 2 && $o->my_accounts->pluck('providers')->flatten()->count()) +@if(Auth::user()->isReseller() && $o->my_accounts->count() <= 2 && $o->my_accounts->pluck('providers')->flatten()->count())