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