@php use Illuminate\Support\Facades\Auth; if(! Auth::check()) { return; } if (! Auth::user()->isAdmin()) { return; } $marketSubscription = app(\App\Repositories\Contracts\ExtensionRepositoryInterface::class)->subscription()->json(); if (! data_get($marketSubscription, 'data')) { return; } @endphp