@extends('admin.layouts.container') @section('css') @endsection @section('content')

{{$head ?? '' }}

@if($hall ?? '' && $hall->id) @method('PUT') @endif @csrf
{{-- Available date block--}}
{{ __('halls.date_search') }}
@if(($hall ?? null) && is_array($hall->available_dates) && count($hall->available_dates)) @foreach($hall->available_dates as $availableDate)
@if($availableDate['discount_percentage'] && $availableDate['discount']) @endif
@if($loop->iteration != 1)
@else
@endif
@endforeach @else
@endif
{{-- Dicount date block--}} {{--
--}} {{-- --}} {{--
--}} {{-- @if(($hall ?? null) && $hall->discount_date && is_array($hall->discount_date) && count($hall->discount_date))--}} {{-- @foreach($hall->discount_date as $discountDate)--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endforeach--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}}
@if(count($occasions)) @foreach($occasions as $occasion)
id, $hall['occasions'] ?? []) ? 'checked' : '' }} value="{{ $occasion->id }}" class="custom-control-input" id="occasions_{{ $occasion->id }}" name="occasions[]">
@endforeach @endif
@foreach(languages() as $language)
@endforeach
@if(($hall ?? null) && is_array($hall->added_services) && count($hall->added_services)) @foreach($hall->added_services as $service)
@if($loop->iteration != 1)
@endif
image ?? "")}}"/>
Choose
@endforeach @else
Choose
@endif
@if ($hall ?? false) @foreach ($hall['images'] as $photo)
@endforeach @endif
@endsection @section('inner_js') {{-- --}} @endsection