@extends('backend.layout') @section('content')
{{ __('Edit Property') }}
{{ __('Back') }} @php $dContent = App\Models\Property\Content::where('property_id', $property->id) ->where('language_id', $defaultLang->id) ->first(); $slug = !empty($dContent) ? $dContent->slug : ''; @endphp @if ($dContent) {{ __('Preview') }} @endif
    @foreach ($galleryImages as $item) @endforeach
    Ad Image
    @csrf

    @csrf

    ...
    {{ __('Choose Image') }}

    ... @if (!empty($property->floor_planning_image)) @endif
    {{ __('Choose Image') }}

    ... @if (!empty($property->video_image)) @endif
    {{ __('Choose Image') }}
    @if ($propertySettings->property_country_status == 1)
    @endif @if ($propertySettings->property_state_status == 1)
    state_id)) style="display:none !important;" @else style="display:block !important;" @endif>
    @endif
    city_id)) style="display:none;"@else style="display:block;" @endif>
    {{--

    {{ __('If you leave it blank, price will be negotiable.') }}

    --}}
    @if ($property->type == 'residential')
    {{--
    --}} @endif
    {{--
    --}}
    purpose === 'rent') style="display: none;" @endif>
    purpose === 'rent') style="display: none;" @endif>
    @if($property->brochure_pdf) View Brochure @endif
    {{-- @php $agents = App\Models\Agent::where('vendor_id', $property->vendor_id) ->select('id', 'username') ->get(); @endphp

    {{ __('if you do not select any agent, then this property will be listed under Vendor') }}

    --}}
    @foreach ($languages as $language) @php $peopertyContent = App\Models\Property\Content::where( 'property_id', $property->id, ) ->where('language_id', $language->id) ->first(); @endphp
    @php $currLang = $language; @endphp @foreach ($languages as $language) @continue($language->id == $currLang->id)
    @endforeach
    @endforeach

    Add more details for Property Overview (Optional)

    @if (count($specifications) > 0) @foreach ($specifications as $specification) @endforeach @else @endif
    {{ __('Label') }} {{ __('Value') }}
    @foreach ($languages as $language) @php $sp_content = App\Models\Property\SpacificationCotent::where( [ ['language_id', $language->id], [ 'property_spacification_id', $specification->id, ], ], )->first(); @endphp
    @endforeach
    @foreach ($languages as $language) @php $sp_content = App\Models\Property\SpacificationCotent::where( [ ['language_id', $language->id], [ 'property_spacification_id', $specification->id, ], ], )->first(); @endphp
    @endforeach
    @foreach ($languages as $language)
    @endforeach
    @foreach ($languages as $language)
    @endforeach
    @endsection @php $languages = App\Models\Language::get(); $labels = ''; $values = ''; foreach ($languages as $language) { $label_name = $language->code . '_label[]'; $value_name = $language->code . '_value[]'; if ($language->direction == 1) { $direction = 'form-group rtl text-right'; } else { $direction = 'form-group'; } $labels .= "
    "; $values .= "
    "; } @endphp @section('script') @endsection