@extends('vendors.layout') @section('content') @php $vendorId = Auth::guard('vendor')->user()->id; if ($vendorId) { $current_package = App\Http\Helpers\VendorPermissionHelper::packagePermission($vendorId); if (!empty($current_package) && !empty($current_package->features)) { $permissions = json_decode($current_package->features, true); $SocialLinkLimit = packageTotalSocialLink($vendorId); } else { $permissions = null; $SocialLinkLimit = 0; } } else { $permissions = null; $SocialLinkLimit = 0; } @endphp
{{ __(' Manage Social Link') }}
{{ __('Back') }} @php $dContent = App\Models\Listing\ListingContent::where('listing_id', $listing_id) ->where('language_id', $defaultLang->id) ->first(); $slug = !empty($dContent) ? $dContent->slug : ''; @endphp @if ($dContent) {{ __('Preview') }} @endif
    @csrf @if (is_array($permissions) && in_array('Social Links', $permissions))

    {{ __('Social Links') }}


    @foreach ($socialLinks as $keys => $link)
    @endforeach
    @endif
    @endsection @section('script') @endsection @section('variables') @endsection