@extends('web.layouts.container') @section('css') @endsection @section('content') {{__('halls.name')}} is_offer ?? null) == 0 ? 'selected': ''}} value="0">{{__('halls.no')}} is_offer ?? null) == 1 ? 'selected': ''}} value="1">{{__('halls.yes')}} {{__('halls.is_offer') }} allow_services ?? null) == 0 ? 'selected': ''}} value="0">{{__('halls.no')}} allow_services ?? null) == 1 ? 'selected': ''}} value="1">{{__('halls.yes')}} {{__('halls.allow_services') }} allow_requests ?? null) == 1 ? 'selected': ''}} value="1">{{__('halls.yes')}} allow_requests ?? null) == 0 ? 'selected': ''}} value="0">{{__('halls.no')}} {{__('halls.allow_requests') }} رفع صور القاعة @if($myHall->images) @foreach($myHall->images as $image) @endforeach @endif {{__('halls.reservation_way') }} reservation_way == 'direct' ? 'selected' : ''}} value="direct">{{__('halls.direct')}} reservation_way == 'accept_request' ? 'selected' : ''}} value="accept_request">{{__('halls.accept_request')}} {{__('halls.reservation_way') }} {{ __('halls.hall_category_id') }} @if(count($categories)) @foreach($categories as $category) category_id == $category->id ? 'selected': ''}} value="{{$category->id}}">{{$category->name}} @endforeach @endif {{__('halls.hall_category_id')}} {{ __('halls.table_ids') }} @if(count($tables)) @foreach($tables as $table) id, ($myHall->table_ids ?? [])) ? 'checked' : ''}} type="checkbox" value="{{ $table->id }}" class="custom-control-input" id="person_table_ids_{{ $table->id }}" name="table_ids[]"> {{$table->name}} @endforeach @endif {{ __('halls.occasions') }} @if(count($occasions)) @foreach($occasions as $occasion) id, ($myHall->occasions ?? [])) ? 'checked' : '' }} value="{{ $occasion->id }}" class="custom-control-input" id="occasions_{{ $occasion->id }}" name="occasions[]"> {{$occasion->name}} @endforeach @endif {{__('halls.capacity') }} {{__('halls.total_capacity') }} {{ __('halls.min_capacity') }} reservation_type == 'person_count' ? 'selected' : ''}} value="person_count">{{__('halls.person_count')}} reservation_type == 'days_count' ? 'selected' : ''}} value="days_count">{{__('halls.days_count')}} {{__('halls.reservation_type')}} {{ __('halls.booking_amount_per_person') }} {{ __('halls.booking_amount_per_day') }} {{__('halls.hall_location')}} {{-- --}} {{ __('halls.region_id') }} @if(count($regions)) @foreach($regions as $region) region_id ?? null) == $region->id ? 'selected': ''}} value="{{$region->id}}">{{$region->name}} @endforeach @endif {{__('halls.region_id')}} {{ __('halls.city_id') }} @if(count($cities)) @foreach($cities as $city) city_id ?? null) == $city->id ? 'selected': ''}} value="{{$city->id}}">{{$city->name}} @endforeach @endif {{ __('halls.city_id')}} {{ __('halls.sector_id') }} @if(count($sectors)) @foreach($sectors as $sector) sector_id ?? null) == $sector->id ? 'selected': ''}} value="{{$sector->id}}">{{$sector->name}} @endforeach @endif {{__('halls.sector_id')}} {{__('halls.street') }} {{__('halls.added_services')}} @if(count($addedServices)) @foreach($addedServices as $addedService) {{-- @if($loop->iteration > 1)--}} {{-- --}} {{-- @endif--}} {{__('halls.added_services')}} {{__('halls.added_services_name')}} {{__('halls.added_services_price')}} {{$addedService['description']}} {{__('halls.added_services_description')}} {{__('halls.upload_added_service_images')}} @if($addedService['image'] ?? null) @endif @endforeach @endif {{-- Dates range --}} {{__('halls.dates_rang') }} {{-- UnAvailable dates block--}} {{__('halls.unavailable_dates') }} @if(count($myHall->unavailable_dates)) @foreach($myHall->unavailable_dates as $unAvailableDate) @endforeach @endif {{-- Discount dates block--}} {{ __('halls.discount_dates') }} @if(count($myHall->discount_dates)) @foreach($myHall->discount_dates as $discountDates) @endforeach @endif {{$myHall->hall_description}} {{__('halls.description')}} {{$myHall->reservation_condition}} {{__('halls.reservation_condition')}} {{$myHall->features}} {{__('halls.features')}} {{__('members.save')}} @endsection @section('inner_js') {{-- --}} @endsection