@if (Session::has('message')) @endif
@csrf @method('PUT')
{{-- Title --}}

@error('title') {{ $message }} @enderror
{{-- Property Type --}}

@if (!empty(old('property_type')))





@else
property_type == 'House') checked @endif>
property_type == 'Apartment') checked @endif>
property_type == 'Condo') checked @endif>
property_type == 'Townhouse') checked @endif>
property_type == 'Cottage') checked @endif>
@endif
@error('property_type') {{ $message }} @enderror
{{-- Kind of Space --}}

@if (!empty(old('kind_space')))


@else
kind_space == 'A Entire Place') checked @endif>
kind_space == 'A Private Room') checked @endif>
@endif
@error('kind_space') {{ $message }} @enderror
{{-- City-Country --}} {{--
@error('city') {{ $message }} @enderror
@error('country') {{ $message }} @enderror
--}} {{-- Address --}}
@error('address') {{ $message }} @enderror
{{-- Cover Photo --}}
cover_photo) style="display: block; width: 13%; padding: 52px 0px;" @endif> cover_photo) style="border-top: 7px solid rgb(250, 250, 250) !important; width: 90%; max-width: 100%; margin-top: -54px; margin-left: 6px;" @else style="border-top: 7px solid #FAFAFA !important;" width="20%" @endif id="output" @if ($listning->cover_photo) src="{{ asset('storage/' . $listning->cover_photo) }}" @endif />
@error('cover_photo') {{ $message }} @enderror
{{-- CNIC Front Photo --}}
cnic_front) style="display: block; width: 13%; padding: 52px 0px;" @endif> cnic_front) style="border-top: 7px solid rgb(250, 250, 250) !important; width: 90%; max-width: 100%; margin-top: -54px; margin-left: 6px;" @else style="border-top: 7px solid #FAFAFA !important;" width="20%" @endif id="output_cnic_front" @if ($listning->cnic_front) src="{{ asset('storage/' . $listning->cnic_front) }}" @endif />
@error('cnic_front') {{ $message }} @enderror
{{-- CNIC Back Photo --}}
cnic_back) style="display: block; width: 13%; padding: 52px 0px;" @endif> cnic_back) style="border-top: 7px solid rgb(250, 250, 250) !important; width: 90%; max-width: 100%; margin-top: -54px; margin-left: 6px;" @else style="border-top: 7px solid #FAFAFA !important;" width="20%" @endif id="output_cnic_back" @if ($listning->cnic_back) src="{{ asset('storage/' . $listning->cnic_back) }}" @endif />
@error('cnic_back') {{ $message }} @enderror
{{-- Face Photo --}}
selfie) style="display: block; width: 13%; padding: 52px 0px;" @endif> selfie) style="border-top: 7px solid rgb(250, 250, 250) !important; width: 90%; max-width: 100%; margin-top: -54px; margin-left: 6px;" @else style="border-top: 7px solid #FAFAFA !important;" width="20%" @endif id="output_face_photo" @if ($listning->selfie) src="{{ asset('storage/' . $listning->selfie) }}" @endif />
@error('selfie') {{ $message }} @enderror
{{-- Photos --}}
@if (!empty($listning->listningPhoto)) @foreach ($listning->listningPhoto as $key => $photo_val)
{{ $photo_val->image }}
{{ $photo_val->image }}
Check
Error
Remove file
@endforeach @endif
{{-- --}} {{-- @error('photos') {{ $message }} @enderror --}}
{{-- Personal Image --}} {{--
@if (!empty($listning->listningPersonalImage)) @foreach ($listning->listningPersonalImage as $key => $photo_val)
{{ $photo_val->image }}
{{ $photo_val->image }}
Check
Error
Remove file
@endforeach @endif
--}} {{-- Number of guest Allowed-Rate per Night --}}
@error('no_of_guest_allowed') {{ $message }} @enderror
@error('rate_per_night') {{ $message }} @enderror
{{--
@error('no_of_bathrooms') {{ $message }} @enderror
--}}
{{-- no_of_bedroom --}} {{--
@if (!is_null(old('no_of_bedroom'))) @foreach (old('no_of_bedroom') as $key => $item) @php $value = old('no_of_bedroom')[$key]; @endphp
$loop->iteration == 1, ])>

Bedroom {{ $loop->iteration }}





@error('no_of_bedroom.{{ $key }}') {{ $message }} @enderror @endforeach @else @if ($listning->listningBed) @foreach ($listning->listningBed as $key => $item) @php $value = $listning->listningBed[$key]; @endphp
$loop->iteration == 1, ])>

Bedroom {{ $loop->iteration }}

bed_size == 'Single') checked @endif>
bed_size == 'Double') checked @endif>
bed_size == 'Queen') checked @endif>
bed_size == 'King') checked @endif>
@error('no_of_bedroom.{{ $key }}') {{ $message }} @enderror @endforeach @else

Bedroom 1





@endif @endif
--}} {{-- Number of Bedroom --}}
{{--
@error('no_of_bedroom') {{ $message }} @enderror
--}} {{-- cloning work new --}}
No of Bedroom
@error('bedroom.*') {{ $message }} @enderror @error('is_bathroom.*') {{ $message }} @enderror
{{-- king, queen single double --}} {{--
@error('king_bed') {{ $message }} @enderror
@error('queen_bed') {{ $message }} @enderror
@error('single_bed') {{ $message }} @enderror
@error('double_bed') {{ $message }} @enderror
--}} {{-- Cleaning Fee-Deposit Fee --}}
@error('cleaning_fee') {{ $message }} @enderror
@error('deposit_fee') {{ $message }} @enderror
{{-- check_in_instruction --}}
@error('check_in_instruction') {{ $message }} @enderror
{{-- Facilities --}}

@if (!empty(old('facilities')))




@else
facility) && in_array('Wifi', $listning->facility)) checked @endif>
facility) && in_array('Kitchen', $listning->facility)) checked @endif>
facility) && in_array('Smart Lock', $listning->facility)) checked @endif>
facility) && in_array("Children's Toys", $listning->facility)) checked @endif>
@endif
@if (!empty(old('facilities')))




@else
facility) && in_array('Free Parking', $listning->facility)) checked @endif>
facility) && in_array('Lake Access', $listning->facility)) checked @endif>
facility) && in_array('Building Concierge', $listning->facility)) checked @endif>
facility) && in_array('Host Greets', $listning->facility)) checked @endif>
@endif
@if (!empty(old('facilities')))




@else
facility) && in_array('Living Room', $listning->facility)) checked @endif>
facility) && in_array('Dining Room', $listning->facility)) checked @endif>
facility) && in_array('Backyard', $listning->facility)) checked @endif>
facility) && in_array('Private Entrance', $listning->facility)) checked @endif>
@endif
@if (!empty(old('facilities')))




@else
facility) && in_array('Pets Allowed', $listning->facility)) checked @endif>
facility) && in_array('Indoor Pool', $listning->facility)) checked @endif>
facility) && in_array('Outdoor Pool', $listning->facility)) checked @endif>
facility) && in_array('Gym', $listning->facility)) checked @endif>
@endif
@if (!empty(old('facilities')))


@else
facility) && in_array('Self Check In', $listning->facility)) checked @endif>
facility) && in_array('Lockbox', $listning->facility)) checked @endif>
@endif
@error('facilities') {{ $message }} @enderror {{-- Scenic Views --}}
@if (!empty(old('scenic_view')))




@else
scenic_views) && in_array('Canal View', $listning->scenic_views)) checked @endif>
scenic_views) && in_array('Lake View', $listning->scenic_views)) checked @endif>
scenic_views) && in_array('Spectacular View', $listning->scenic_views)) checked @endif>
scenic_views) && in_array('City Skyline View', $listning->scenic_views)) checked @endif>
@endif
@if (!empty(old('scenic_view')))

@else
scenic_views) && in_array('Waterfront', $listning->scenic_views)) checked @endif>
@endif
@error('scenic_view') {{ $message }} @enderror {{-- Heating and Cooling --}}
@if (!empty(old('heating_n_cooling')))




@else
heating_n_coolings) && in_array('Air Conditioner', $listning->heating_n_coolings)) checked @endif>
heating_n_coolings) && in_array('Heating', $listning->heating_n_coolings)) checked @endif>
heating_n_coolings) && in_array('Indoor Fireplace', $listning->heating_n_coolings)) checked @endif>
heating_n_coolings) && in_array('Outdoor Fireplace', $listning->heating_n_coolings)) checked @endif>
@endif
@if (!empty(old('heating_n_cooling')))




@else
heating_n_coolings) && in_array('Ceiling Fan', $listning->heating_n_coolings)) checked @endif>
heating_n_coolings) && in_array('Portable Fan', $listning->heating_n_coolings)) checked @endif>
heating_n_coolings) && in_array('Radiant Heat', $listning->heating_n_coolings)) checked @endif>
heating_n_coolings) && in_array('Window AC Unit', $listning->heating_n_coolings)) checked @endif>
@endif
@error('heating_n_cooling') {{ $message }} @enderror {{-- Home Safety --}}
@if (!empty(old('home_safety')))




@else
home_safeties) && in_array('Smoke Alarms', $listning->home_safeties)) checked @endif>
home_safeties) && in_array('Carbon Monoxide Alarm', $listning->home_safeties)) checked @endif>
home_safeties) && in_array('Fire Extinguisher', $listning->home_safeties)) checked @endif>
home_safeties) && in_array('Security Cameras', $listning->home_safeties)) checked @endif>
@endif
@if (!empty(old('home_safety')))

@else
home_safeties) && in_array('First Aid Kit', $listning->home_safeties)) checked @endif>
@endif
@error('home_safety') {{ $message }} @enderror {{-- Bathroom --}}
@if (!empty(old('bathroom')))




@else
bathrooms) && in_array('Hair Dryer', $listning->bathrooms)) checked @endif>
bathrooms) && in_array('Shampoo', $listning->bathrooms)) checked @endif>
bathrooms) && in_array('Conditioner', $listning->bathrooms)) checked @endif>
bathrooms) && in_array('Body Soap', $listning->bathrooms)) checked @endif>
@endif
@if (!empty(old('bathroom')))



@else
bathrooms) && in_array('Shower Gel', $listning->bathrooms)) checked @endif>
bathrooms) && in_array('Hair Gel', $listning->bathrooms)) checked @endif>
bathrooms) && in_array('Hair Brush', $listning->bathrooms)) checked @endif>
@endif
@error('bathroom') {{ $message }} @enderror {{-- Laundry --}}
@if (!empty(old('laundry')))




@else
laundaries) && in_array('Washer', $listning->laundaries)) checked @endif>
laundaries) && in_array('Dryer', $listning->laundaries)) checked @endif>
laundaries) && in_array('Iron', $listning->laundaries)) checked @endif>
laundaries) && in_array('Clothing Storage', $listning->laundaries)) checked @endif>
@endif
@if (!empty(old('laundry')))

@else
laundaries) && in_array('Extra Pillows and Blankets', $listning->laundaries)) checked @endif>
@endif
@error('laundry') {{ $message }} @enderror {{-- Kitchen --}}
@if (!empty(old('kitchen')))




@else
kitchens) && in_array('Fridge', $listning->kitchens)) checked @endif>
kitchens) && in_array('Stove', $listning->kitchens)) checked @endif>
kitchens) && in_array('Dishwasher', $listning->kitchens)) checked @endif>
kitchens) && in_array('Microwave', $listning->kitchens)) checked @endif>
@endif
@if (!empty(old('kitchen')))




@else
kitchens) && in_array('Toaster', $listning->kitchens)) checked @endif>
kitchens) && in_array('Coffee Maker', $listning->kitchens)) checked @endif>
kitchens) && in_array('Wine Glasses', $listning->kitchens)) checked @endif>
kitchens) && in_array('Hot Water Kettle', $listning->kitchens)) checked @endif>
@endif
@if (!empty(old('kitchen')))




@else
kitchens) && in_array('Dishes and Silverware', $listning->kitchens)) checked @endif>
kitchens) && in_array('Cooking Basics', $listning->kitchens)) checked @endif>
kitchens) && in_array('Freezer', $listning->kitchens)) checked @endif>
kitchens) && in_array('Baby High Chair', $listning->kitchens)) checked @endif>
@endif
@error('kitchen') {{ $message }} @enderror {{-- Entertainment --}}
@if (!empty(old('entertainment')))




@else
entertainments) && in_array('Reading Material', $listning->entertainments)) checked @endif>
entertainments) && in_array('Television', $listning->entertainments)) checked @endif>
entertainments) && in_array('Television in Bedroom', $listning->entertainments)) checked @endif>
entertainments) && in_array('Cable TV', $listning->entertainments)) checked @endif>
@endif
@if (!empty(old('entertainment')))




@else
entertainments) && in_array('Netflix', $listning->entertainments)) checked @endif>
entertainments) && in_array('Prime Video', $listning->entertainments)) checked @endif>
entertainments) && in_array('Disney Plus', $listning->entertainments)) checked @endif>
entertainments) && in_array('Crave TV', $listning->entertainments)) checked @endif>
@endif
@error('entertainment') {{ $message }} @enderror {{-- Outdoor --}}
@if (!empty(old('outdoor')))




@else
outdoors) && in_array('Private Balcony', $listning->outdoors)) checked @endif>
outdoors) && in_array('Backyard Patio', $listning->outdoors)) checked @endif>
outdoors) && in_array('BBQ Grill', $listning->outdoors)) checked @endif>
outdoors) && in_array('Private Hot Tub', $listning->outdoors)) checked @endif>
@endif
@error('outdoor') {{ $message }} @enderror {{-- Parking --}}
@if (!empty(old('parking')))


@else
parkings) && in_array('Free Parking on Property', $listning->parkings)) checked @endif>
parkings) && in_array('Free Street Parking', $listning->parkings)) checked @endif>
@endif
@error('parking') {{ $message }} @enderror {{-- Cancelation Policy --}}
@if (!empty(old('cancellation_policy')))


@else
cancellation_policies) && in_array('This reservation is non refundable', $listning->cancellation_policies)) checked @endif>
cancellation_policies) && in_array( 'Guest can cancel their reservation until 72 hours before check in service charge is non refundable', $listning->cancellation_policies)) checked @endif>
@endif
@error('cancellation_policy') {{ $message }} @enderror {{-- Property Description --}}
@error('property_description') {{ $message }} @enderror
{{-- Button Submit --}}
{{-- host information --}} {{--

Host Information

@error('host_name') {{ $message }} @enderror
@error('host_email') {{ $message }} @enderror
@error('host_phone') {{ $message }} @enderror
@error('check_in') {{ $message }} @enderror
@error('check_out') {{ $message }} @enderror
--}}