Only show intuit link to reseller users

This commit is contained in:
Deon George 2023-05-09 10:14:45 +09:00
parent fe4bc3acef
commit f3ecc12494

View File

@ -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())
<div class="col-12 col-sm-4 col-md-2">
<div class="info-box">
<span class="info-box-icon bg-dark elevation-1"><i class="fas fa-file-invoice"></i></span>