@php $vendorId = Auth::guard('vendor')->user()->id; $current_package = App\Http\Helpers\VendorPermissionHelper::packagePermission($vendorId); if (!empty($current_package) && !empty($current_package->features)) { $permissions = json_decode($current_package->features, true); } else { $permissions = null; } @endphp @if ($current_package != '[]') @if (is_array($permissions) && in_array('Products', $permissions)) @endif @if (is_array($permissions) && in_array('Products', $permissions)) @endif @if (is_array($permissions) && in_array('FAQ', $permissions)) @endif @if (is_array($permissions) && in_array('Feature', $permissions)) @endif @if (is_array($permissions) && in_array('Social Links', $permissions)) @endif @if (is_array($permissions) && in_array('Amenities', $permissions)) @endif @endif