@extends('layouts.agent') @push('css') @endpush @section('content')
@php $steps = [ 1 => 'Basic Details', 2 => 'Property Details', 3 => 'Location Details', 4 => 'Photos & Videos', ]; $currentStep = request()->route()->getName(); preg_match('/step_(\d+)/', $currentStep, $matches); $activeStep = isset($matches[1]) ? (int) $matches[1] : 1; @endphp
@foreach ($steps as $step => $label)
{{ $step }} {{ $label }} @if ($step < count($steps))
@endif
@endforeach
{{ csrf_field() }}
{{ __('Located Inside') }}
located_inside : '') == 'it-park' ? 'checked' : '' }}> located_inside : '') == 'business-park' ? 'checked' : '' }}> located_inside : '') == 'other' ? 'checked' : '' }}>
@error('located_inside') {{ $message }} @enderror
{{ __('Zone Type') }}
zone_type : '') == 'industrial' ? 'checked' : '' }}> zone_type : '') == 'commercial' ? 'checked' : '' }}> zone_type : '') == 'residential' ? 'checked' : '' }}> zone_type : '') == 'special-economic-zone' ? 'checked' : '' }}> zone_type : '') == 'open-space' ? 'checked' : '' }}> zone_type : '') == 'agricultural-zone' ? 'checked' : '' }}> zone_type : '') == 'other' ? 'checked' : '' }}>
@error('zone_type') {{ $message }} @enderror
@if ($attributes) @foreach ($attributes as $key => $attribute) @if ($attribute->name === 'Amenities For Commercial')
Amenities For Commercial ( 2 Amenities are mandatory )
@if ($attribute->options) @foreach ($attribute->options as $okey => $option)
id, old('attributes.' . $attribute->name, $data_attributes[$attribute->name] ?? [])) ? 'checked' : '' }}>
@endforeach @endif @error('attributes')
{{ $message }}
@enderror
{{-- JS validation error placeholder --}}
@endif @endforeach @endif
{{ __('Back') }}
@endsection @section('scripts') @endsection