@php
$listingCanAdd = packageTotalListing($vendorId) - vendorTotalListing($vendorId);
@endphp
{{ __('If any feature is downgraded , you can\'t create or edit any feature.') }}
-
@if ($listingCanAdd < 0)
@endif
{{ __('Listings Left') }} :
{{ $current_package->number_of_listing - vendorTotalListing($vendorId) >= 999999 ? 'Unlimited' : ($current_package->number_of_listing - vendorTotalListing($vendorId) < 0 ? 0 : $current_package->number_of_listing - vendorTotalListing($vendorId)) }}
@if (vendorTotalListing($vendorId) > $current_package->number_of_listing)
{{ __('Limit has been crossed,vendor has to delete') }}
{{ abs($current_package->number_of_listing - vendorTotalListing($vendorId)) }}
{{ abs($current_package->number_of_listing - vendorTotalListing($vendorId)) == 1 ? 'listing' : 'listings' }}
@endif
@if (vendorTotalListing($vendorId) == $current_package->number_of_listing)
{{ __('You reach your limit') }}
@endif
-
@if ($dowgraded['listingImgDown'])
@endif
{{ __('Listing Images (Per Listing)') }} :
{{ $current_package->number_of_images_per_listing }}
@if ($dowgraded['listingImgDown'])
{{ __('Limit has been crossed,vendor has to delete') }}
{{ __('gallery images') }}
@endif
@if (is_array($permissions) && in_array('Products', $permissions))
-
@if ($dowgraded['listingProductDown'])
@endif
{{ __('Products (Per Listing)') }} :
{{ $current_package->number_of_products }}
@if ($dowgraded['listingProductDown'])
{{ __('Limit has been crossed, vendor has to delete,products') }}
@endif
@endif
@if (is_array($permissions) && in_array('FAQ', $permissions))
-
@if ($dowgraded['listingFaqDown'])
@endif
{{ __('Faqs (Per Listing)') }} :
{{ $current_package->number_of_faq }}
@if ($dowgraded['listingFaqDown'])
{{ __('Limit has been crossed, vendor has to delete faqs') }}
@endif
@endif
@if (is_array($permissions) && in_array('Feature', $permissions))
-
@if ($dowgraded['featureDown'])
@endif
{{ __('Features (Per Listing)') }} :
{{ $current_package->number_of_additional_specification }}
@if ($dowgraded['featureDown'])
{{ __('Limit has been crossed, vendor has to delete Specifications') }}
@endif
@endif
@if (is_array($permissions) && in_array('Social Links', $permissions))
-
@if ($dowgraded['socialLinkDown'])
@endif
{{ __('Socail Links (Per Listing)') }} :
{{ $current_package->number_of_social_links }}
@if ($dowgraded['socialLinkDown'])
{{ __('Limit has been crossed, vendor has to delete Social Links') }}
@endif
@endif
@if (is_array($permissions) && in_array('Amenities', $permissions))
-
@if ($dowgraded['amenitieDown'])
@endif
{{ __('Amenities (Per Listing)') }} :
{{ $current_package->number_of_amenities_per_listing }}
@if ($dowgraded['amenitieDown'])
{{ __('Limit has been crossed, vendor has to delete Amenities') }}
@endif
@endif
@if (is_array($permissions) && in_array('Products', $permissions))
-
@if ($dowgraded['listingProductImgDown'])
@endif
{{ __('Product Images (Per Product.)') }} :
{{ $current_package->number_of_images_per_products }}
@if ($dowgraded['listingProductImgDown'])
{{ __('Limit has been crossed, vendor has to delete') }}
{{ __('gallery images') }}
@endif
@endif