@php Theme::set('breadcrumbEnabled', 'no'); Theme::asset()->usePath()->add('fancybox', 'plugins/fancybox/jquery.fancybox.min.css'); Theme::asset()->container('footer')->usePath()->add('fancybox', 'plugins/fancybox/jquery.fancybox.min.js'); Theme::asset()->usePath()->add('leaflet', 'plugins/leaflet/leaflet.css'); Theme::asset()->container('footer')->usePath()->add('leaflet', 'plugins/leaflet/leaflet.js'); Theme::layout('full-width'); Theme::set('pageTitle', $project->name); @endphp @include(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.gallery-slider'), ['model' => $project])
{!! BaseHelper::clean($project->status_html) !!}
@if ($project->price_from || $project->price_to)

{{ $project->formatted_price }}

@endif
@include(Theme::getThemeNamespace('views.real-estate.partials.meta'), ['model' => $project])
{!! apply_filters('before_single_content_detail', null, $project) !!} @if ($project->content)
{{ __('Description') }}
{!! BaseHelper::clean($project->content) !!}
@endif @if ($videoUrl = $project->getMetaData('video_url', true))
{{ __('Video') }}
@endif
{{ __('Overview') }}
{{ __('Project ID:') }} {{ $project->unique_id ?: $project->getKey() }}
@if($project->categories->isNotEmpty())
{{ __('Type:') }} {{ $project->categories->map(fn ($item) => $item->name)->implode(', ') }}
@endif @if ($project->investor->name)
{{ __('Investor:') }} {{ $project->investor->name }}
@endif @if ($project->number_block)
{{ __('Blocks:') }} {{ number_format($project->number_block) }}
@endif @if ($project->number_floor)
{{ __('Floors:') }} {{ number_format($project->number_floor) }}
@endif @if ($project->number_flat)
{{ __('Flats:') }} {{ number_format($project->number_flat) }}
@endif @if ($project->square)
{{ __('Square:') }} {{ $project->square_text }}
@endif @foreach ($project->customFields as $customField) @continue(! $customField->value)
{!! BaseHelper::clean($customField->name) !!}: {!! BaseHelper::clean($customField->value) !!}
@endforeach
@if ($project->features->isNotEmpty())
{{ __('Amenities and features') }}
    @foreach ($project->features as $feature)
  • @if ($feature->icon) {!! BaseHelper::renderIcon($feature->icon) !!} @endif {{ $feature->name }}
  • @endforeach
@endif @if ($project->facilities->isNotEmpty())
{{ __('What’s nearby?') }}

{{ __("Explore nearby amenities to precisely locate your property and identify surrounding conveniences, providing a comprehensive overview of the living environment and the property's convenience.") }}

    @foreach ($project->facilities as $facility)
  • @if($facility->icon) {!! BaseHelper::renderIcon($facility->icon) !!} @endif {{ $facility->name }}: {{ $facility->pivot->distance }}
  • @endforeach
@endif
{{ __('Location') }}
@if (theme_option('real_estate_show_map_on_single_detail_page', 'yes') === 'yes') @if ($project->latitude && $project->longitude)
@else @endif @endif @if ($locationOnMap = ($project->location ?: $project->short_address)) @php $mapUrl = 'https://www.google.com/maps/search/' . urlencode($locationOnMap); if ($project->latitude && $project->longitude) { $mapUrl = 'https://maps.google.com/?q=' . $project->latitude . ',' . $project->longitude; } @endphp @endif @include(Theme::getThemeNamespace('views.real-estate.partials.social-sharing'), ['model' => $project])
{!! apply_filters('after_single_content_detail', null, $project) !!} {!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $project) !!} @include(Theme::getThemeNamespace('views.real-estate.single-layouts.partials.reviews'), ['model' => $project])
{{ __('Contact Agency') }}
@if (! RealEstateHelper::hideAgentInfoInPropertyDetailPage() && ($account = $project->author))
@if ($account->phone && ! setting('real_estate_hide_agency_phone', false)) {{ $account->phone }} @elseif($hotline = theme_option('hotline')) {{ $hotline }} @endif @if ($account->email && ! setting('real_estate_hide_agency_email', false)) {{ $account->email }} @endif
@endif {!! apply_filters('project_right_details_info', null, $project) !!} {!! apply_filters('before_consult_form', null, $project) !!} {!! \Botble\RealEstate\Forms\Fronts\ConsultForm::create() ->formClass('contact-form') ->setFormInputWrapperClass('ip-group') ->modify('content', 'textarea', ['attr' => ['class' => '']]) ->modify('submit', 'submit', ['attr' => ['class' => 'tf-btn primary w-100']]) ->add('type', 'hidden', ['attr' => ['value' => 'project']]) ->add('data_id', 'hidden', ['attr' => ['value' => $project->getKey()]]) ->addBefore('content', 'data_name', 'text', ['label' => false, 'attr' => ['value' => $project->name, 'disabled' => true]]) ->renderForm() !!} {!! apply_filters('after_consult_form', null, $project) !!}
@php $relatedProperties = app(\Botble\RealEstate\Repositories\Interfaces\PropertyInterface::class) ->getPropertiesByConditions( [ 're_properties.project_id' => $project->getKey(), ], 8, \Botble\RealEstate\Facades\RealEstateHelper::getPropertyRelationsQuery(), ); @endphp @if ($relatedProperties->isNotEmpty())
{{ __('Latest Properties') }}

{{ __('Properties in project ":name"', ['name' => $project->name]) }}

@foreach($relatedProperties as $property)
@include(Theme::getThemeNamespace('views.real-estate.properties.item-grid'), ['property' => $property, 'class' => 'style-2'])
@endforeach
@endif