@extends('admin.layout') @section('content') @php $vendorId = App\Models\Listing\Listing::where('id', $listing_id)->pluck('vendor_id')->first(); if ($vendorId != 0) { $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 = ['Social Links']; $SocialLinkLimit = 999999; } @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