@extends('managers.layout.master') @section('title', 'تعديل الوحدة') @section('stylesheets') @stop @section('content')

تعديل الوحدة

تعديل البيانات

برجاء إدخال البيانات الأساسية للوحده

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@method('PATCH') @csrf

تعريف الوحدة

@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('show')) {{ $errors->first('show') }} @endif
@if ($errors->has('deposit_type')) {{ $errors->first('deposit_type') }} @endif
@if ($errors->has('deposit_amount')) {{ $errors->first('deposit_amount') }} @endif
@if ($errors->has('distance')) {{ $errors->first('distance') }} @endif
@if ($errors->has('people_count')) {{ $errors->first('people_count') }} @endif
@if ($errors->has('suitable_for')) {{ $errors->first('suitable_for') }} @endif
{{-- ملوحظة : في حال كان الحجز لأكثر من ليله يكون المبيت مجاني--}}
@if ($errors->has('overnight')) {{ $errors->first('overnight') }} @endif

المجلس والجلسات

@if ($errors->has('sittings')) {{ $errors->first('sittings') }} @endif
sittings == 'true') style="display: block" @else style="display: none" @endif>
@if ($errors->has('main_sittings')) {{ $errors->first('main_sittings') }} @endif
@if ($errors->has('additional_sittings')) {{ $errors->first('additional_sittings') }} @endif
@if ($errors->has('out_sittings')) {{ $errors->first('out_sittings') }} @endif
@if ($errors->has('external_settings')) {{ $errors->first('external_settings') }} @endif

حمام السباحة

@if ($errors->has('bool_type_id')) {{ $errors->first('bool_type_id') }} @endif
bool == 'false') style="display: none" @else style="display: block" @endif>

متدرج bool_type == 'sequential') ? "checked" : "" }} value="sequential" name="bool_type">
غير متدرج bool_type == 'not_sequential') ? "checked" : "" }} value="not_sequential" name="bool_type">
bool_type == 'sequential' ) style="display:block;" @else style="display:none;" @endif>
bool_type == 'not_sequential' ) style="display:block;" @else style="display:none;" @endif class="row non_sequential_div">

غرف النوم والأسرة

@if ($errors->has('rooms_count')) {{ $errors->first('rooms_count') }} @endif
@if ($errors->has('single_beds')) {{ $errors->first('single_beds') }} @endif
@if ($errors->has('big_beds')) {{ $errors->first('big_beds') }} @endif

المطبخ

@if ($errors->has('food_table_count')) {{ $errors->first('food_table_count') }} @endif
@foreach($kitchens_attributes as $kitchen)
id,$old_kitchens) ? "checked" : ''}} value="{{$kitchen->id}}">{{$kitchen->title['ar']}}
@endforeach

دورات المياة

@if ($errors->has('bath_count')) {{ $errors->first('bath_count') }} @endif
@foreach($bath_attributes as $bath)
id,$old_baths) ? "checked" : ''}} value="{{$bath->id}}"> {{$bath->title['ar']}}
@endforeach

المرافق

@foreach($attachments as $attachment)
attachments->contains($attachment->id) ? "checked" : ""}} value="{{$attachment->id}}"> {{$attachment->title['ar']}}
@endforeach

الصور

صورة العرض

 

صور متعددة للوحدة

العلومات

@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@stop @section('scripts') @stop