Add New

Link Social Media @can('view', App\Models\Image::class) Gallery @endcan @can('view', App\Models\Video::class) Video @endcan @if (in_array($user_type, ['Free', 'Basic', 'Gold', 'Platinum', 'Sponsored', 'Influencer'])) {{-- Contact Points --}} Contact Point @endif @if ($user_type != 'Free') {{-- Payment Links --}} Accept Payment @endif {{-- @if (in_array($user_type, ['Gold', 'Platinum'])) --}} Driving Direction {{-- @endif --}} @if (in_array($user_type, ['Basic', 'Gold', 'Platinum', 'Influencer'])) Community @endif @if (in_array($user_type, ['Basic', 'Gold', 'Platinum'])) {{-- Products --}} Event Page @endif @if (in_array($user_type, ['Gold', 'Platinum'])) {{-- Products --}} Product @endif {{-- @if (in_array($user_type, ['Gold', 'Platinum'])) Sales Page @endif --}} @if (in_array($user_type, ['Gold', 'Platinum', 'Sponsored', 'Influencer'])) @php $maxCard = 0; $availableSlot = 0; $verbiage = ' Slots'; if (auth()->user()->user_type === 'Gold') { $maxCard = 3; } if (auth()->user()->user_type === 'Platinum') { $maxCard = 12; } // if (auth()->user()->user_type === 'Sponsored') { if (in_array(auth()->user()->user_type, ['Sponsored', 'Influencer'])) { $maxCard = 1; } $availableSlot = $maxCard - $subcards_count; @endphp @if ($availableSlot >= 1) {{-- Sub Card --}} New Card @endif @endif