@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Services")}}

{{__("All Services")}}

@endsection @section("content")

{{$property->service->name_en}}

{{__("Edit Property")}}

$property->service->subCategory->mainCategory->id, "sub_id" => $property->service->subCategory->id, "service_id" => $property->service->id, "id" => $property->id])}}" enctype="multipart/form-data"> @csrf @method("put")
@error("property_en_title")
{{$message}}
@enderror
@error("property_ar_title")
{{$message}}
@enderror
@error("property_ur_title")
{{$message}}
@enderror

@if($property->type == "DP" || $property->type == "SL" || $property->type == "QS")

Options


@php $counter = 0; @endphp @foreach($property->options as $option)
@error("option_en_title." . $counter)
{{$message}}
@enderror
@error("option_ar_title." . $counter)
{{$message}}
@enderror
@error("option_ur_title." . $counter)
{{$message}}
@enderror
@error("price." . $counter)
{{$message}}
@enderror
@php $counter++; @endphp @endforeach @if(isset($options_count)) @for($i = $counter; $i < $options_count; $i++)
@error("option_en_title." . $i)
{{$message}}
@enderror
@error("option_ar_title." . $i)
{{$message}}
@enderror
@error("option_ur_title." . $i)
{{$message}}
@enderror
@error("price." . $i)
{{$message}}
@enderror
@endfor @endif
{{__('Add Option')}}
@elseif($property->type == "SW")
@error("price")
{{$message}}
@enderror
@endif
@endsection @section("scripts") @endsection