المعلومات الأساسية
@if(!isset($tblPropertyDetail) && isset($hosts))
{!! html()->label('مالك العقار (Host):', 'created_by_id') !!} {!! Form::select('created_by_id', $hosts, null, ['class' => 'form-control select2', 'placeholder' => 'ابحث واختر المالك...', 'required' => true]) !!}
@endif
{!! Form::label('title', __('اسم العقار'), ['class' => 'form-label']) !!} {!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => 'أدخل اسم العقار']) !!}
{!! html()->label('نوع العقار:', 'property_type') !!} @php $propertyTypes = \App\Models\PropertyType::where('is_active', 1)->pluck('name_ar', 'id'); @endphp {!! Form::select('property_type', $propertyTypes, null, ['class' => 'form-control', 'id' => 'property_type', 'placeholder' => 'اختر نوع العقار']) !!}
{!! Form::label('description', __('الوصف'), ['class' => 'form-label']) !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => 3, 'placeholder' => 'وصف تفصيلي للعقار...']) !!}
الموقع الجغرافي
{!! Form::label('tbl_city_id', __('المدينة'), ['class' => 'form-label']) !!} {!! Form::select('tbl_city_id', $cities->pluck('name', 'id'), null, ['class' => 'form-control', 'id' => 'citySelect', 'placeholder' => 'اختر المدينة']) !!}
{!! Form::label('tbl_zone_id', __('المنطقة'), ['class' => 'form-label']) !!} {!! Form::select('tbl_zone_id', isset($zones) ? $zones : [], null, ['class' => 'form-control', 'id' => 'zoneSelect', 'placeholder' => 'اختر المنطقة']) !!}
{!! Form::label('is_near_see', __('هل قريب من البحر؟'), ['class' => 'form-label']) !!}
is_near_see == 1) || !isset($tblPropertyDetail) ? 'checked' : '' }}> is_near_see == 2) ? 'checked' : '' }}>
{!! Form::label('meter_distance', __('المسافة من البحر'), ['class' => 'form-label']) !!}
{!! Form::number('meter_distance', null, ['class' => 'form-control', 'id' => 'meter_distance', 'required' => true, 'placeholder' => 'مثال: 500']) !!}
متر
{!! Form::text('latitude', null, ['id' => 'latitude']) !!} {!! Form::text('longitude', null, ['id' => 'longitude']) !!}
{!! Form::label('map', __('حدد الموقع بدقة على الخريطة'), ['class' => 'form-label']) !!}
تفاصيل الإقامة
{!! Form::label('check_in_time', __('وقت الدخول (Check-in)'), ['class' => 'form-label']) !!}
{!! Form::text('check_in_time', null, ['class' => 'form-control timepicker', 'style' => 'font-size: 1.15rem; font-weight: 700; text-align: center; direction: ltr; letter-spacing: 1px;', 'autocomplete' => 'off', 'placeholder' => '14:00']) !!}
{!! Form::label('check_out_time', __('وقت الخروج (Check-out)'), ['class' => 'form-label']) !!}
{!! Form::text('check_out_time', null, ['class' => 'form-control timepicker', 'style' => 'font-size: 1.15rem; font-weight: 700; text-align: center; direction: ltr; letter-spacing: 1px;', 'autocomplete' => 'off', 'placeholder' => '12:00']) !!}
{!! Form::label('adult_count', __('عدد الأشخاص البالغين المسموح'), ['class' => 'form-label']) !!} {!! Form::number('adult_count', null, ['class' => 'form-control', 'min' => 1]) !!}
{!! Form::label('children_count', __('عدد الأطفال المسموح'), ['class' => 'form-label']) !!} {!! Form::number('children_count', null, ['class' => 'form-control', 'min' => 0]) !!}
إعدادات الظهور والحالة
{!! Form::label('state_id', __('حالة النشر'), ['class' => 'form-label']) !!}
state_id == 1) || !isset($tblPropertyDetail) ? 'checked' : '' }}> state_id == 0) ? 'checked' : '' }}>
{!! Form::label('is_verified', __('توثيق العقار'), ['class' => 'form-label']) !!}
is_verified == 1) ? 'checked' : '' }}> is_verified == 0) || !isset($tblPropertyDetail) ? 'checked' : '' }}>
{!! html()->label('عرض في الصفحة الرئيسية', 'show_in_home_display') !!}
show_in_home) ? 'checked' : '' }}>
{!! html()->label('ترتيب العقار في القسم (1 الأعلى)', 'home_order') !!} {!! Form::number('home_order', isset($tblPropertyDetail) ? $tblPropertyDetail->home_order : 1, ['class' => 'form-control', 'min'=>1, 'max'=>10]) !!}
إلغاء الرجوع
@push('third_party_scripts') @endpush