@php
$agentLeft = $currentPackage->number_of_agent - $featuresCount['agents'];
$propertiesLeft = $currentPackage->number_of_property - $featuresCount['properties'];
$projectLeft = $currentPackage->number_of_projects - $featuresCount['projects'];
@endphp
@if (
$agentLeft < 0 ||
$propertiesLeft < 0 ||
$proGalImgDown ||
$proSpeciDown ||
$projectLeft < 0 ||
$projectGalImgDown ||
$projectTypeDown ||
$projectSpeciDown)
{{ __("If any of your package feature's limit exceeds, you can not add orĀ edit any other feature.") }}
@endif
-
@if ($agentLeft < 0)
@endif
{{ __('Agents Left') }} :
{{ $currentPackage->number_of_agent == 999999 ? 'Unlimited' : ($currentPackage->number_of_agent - $featuresCount['agents'] < 0 ? 0 : $currentPackage->number_of_agent - $featuresCount['agents']) }}
@if ($agentLeft == 0)
{{ __('Your agent features limit has been reached. You can\'t add more agent.') }}
@endif
@if ($featuresCount['agents'] > $currentPackage->number_of_agent)
{{ __('Limit has been crossed, you have to delete') }}
{{ abs($currentPackage->number_of_agent - $featuresCount['agents']) }}
{{ abs($currentPackage->number_of_agent - $featuresCount['agents']) == 1 ? 'agent' : 'agents' }}
@endif
-
@if ($propertiesLeft < 0)
@endif
{{ __('Properties Left') }} :
{{ $currentPackage->number_of_property == 999999 ? 'Unlimited' : ($currentPackage->number_of_property - $featuresCount['properties'] < 0 ? 0 : $currentPackage->number_of_property - $featuresCount['properties']) }}
@if ($propertiesLeft == 0)
{{ __('Your property features limit has been reached. You can\'t add more property.') }}
@endif
@if ($featuresCount['properties'] > $currentPackage->number_of_property)
{{ __('Limit has been crossed, you have to delete') }}
{{ abs($currentPackage->number_of_property - $featuresCount['properties']) }}
{{ abs($currentPackage->number_of_property - $featuresCount['properties']) == 1 ? 'property' : 'properties' }}
@endif
-
@if ($proGalImgDown)
@endif
{{ __('Gallery Images Limit (Per Property)') }} :
{{ $currentPackage->number_of_property_gallery_images == 999999 ? 'Unlimited' : $currentPackage->number_of_property_gallery_images }}
@if ($proImgCount > $currentPackage->number_of_property_gallery_images)
{{ __("Please remove some 'gallery images' from properties & make sure each property has maximum ") }}
{{ abs($currentPackage->number_of_property_gallery_images) }}
{{ __('gallery images') }}
@endif
-
@if ($proSpeciDown)
@endif
{{ __('Additional Features Limit (Per Property)') }} :
{{ $currentPackage->number_of_property_adittionl_specifications == 999999 ? 'Unlimited' : $currentPackage->number_of_property_adittionl_specifications }}
@if ($proSpeciCount > $currentPackage->number_of_property_adittionl_specifications)
{{ __("Please remove some 'additional features' from properties & make sure each property has maximum ") }}
{{ abs($currentPackage->number_of_property_adittionl_specifications) }}
{{ __('additional features') }}
@endif
-
@if ($projectLeft < 0)
@endif
{{ __('Projects Left') }} :
{{ $currentPackage->number_of_projects == 999999 ? 'Unlimited' : ($currentPackage->number_of_projects - $featuresCount['projects'] < 0 ? 0 : $currentPackage->number_of_projects - $featuresCount['projects']) }}
@if ($projectLeft == 0)
{{ __('Your project features limit has been reached. You can\'t add more project.') }}
@endif
@if ($featuresCount['projects'] > $currentPackage->number_of_projects)
{{ __('Limit has been crossed, you have to delete') }}
{{ abs($currentPackage->number_of_projects - $featuresCount['projects']) }}
{{ abs($currentPackage->number_of_projects - $featuresCount['projects']) == 1 ? 'project' : 'projects' }}
@endif
{{-- --}}
-
@if ($projectGalImgDown)
@endif
{{ __('Gallery Images Limit (Per Project)') }} :
{{ $currentPackage->number_of_project_gallery_images == 999999 ? 'Unlimited' : $currentPackage->number_of_project_gallery_images }}
@if ($projectImgCount > $currentPackage->number_of_project_gallery_images)
{{ __("Please remove some 'gallery images' from projects & make sure each project has maximum ") }}
{{ abs($currentPackage->number_of_project_gallery_images) }}
{{ __('gallery images') }}
@endif
-
@if ($projectTypeDown)
@endif
{{ __('Project Types Limit (Per Project)') }} :
{{ $currentPackage->number_of_project_types == 999999 ? 'Unlimited' : $currentPackage->number_of_project_types }}
@if ($projectTypeCount > $currentPackage->number_of_project_types)
{{ __("Please remove some 'project type' from projects & make sure each project has maximum ") }}
{{ abs($currentPackage->number_of_project_types) }}
{{ __('project types') }}
@endif
-
@if ($projectSpeciDown)
@endif
{{ __('Additional Features Limit (Per Project)') }} :
{{ $currentPackage->number_of_project_additionl_specifications == 999999 ? 'Unlimited' : $currentPackage->number_of_project_additionl_specifications }}
@if ($projectSpeciCount > $currentPackage->number_of_project_additionl_specifications)
{{ __("Please remove some 'additional features' from projects & make sure each project has maximum ") }}
{{ abs($currentPackage->number_of_project_additionl_specifications) }}
{{ __('additional features') }}
@endif