@extends('spa.layouts.index') @section('content')
@can('update_general', $branch)

@lang('global.general_information')

@lang('global.location')

@endcan @can('update_qr', $branch)
@can('update_qr', $branch) @endcan
@can('update_qr', $branch) @endcan
@endcan @if (spa_admin()->can('updateAny', 'App\Models\Sitem') || spa_admin()->can('updateAny', 'App\Models\SpaSection'))
@foreach ($branch->spa->sections()->onlyParents()->get() as $section)
id", ...$section->children->map(fn($child) => "#section-$child->id")) }}' id="section-{{ $section->id }}" role="tabpanel"> @can('updateAny', 'App\Models\SpaSection') @if ($section->sitems->isNotEmpty())
@foreach ($section->sitems as $sitem) @endforeach
@lang('validation.attributes.sitems') @lang('validation.attributes.available') @lang('global.manage_reservations_times')
{{ $sitem->title }}

@foreach ($sitems_sections[$section->id][$sitem->id]['working_times_grouped_by_time'] as $key => $work_time) @include('spa.branches.helpers.working_time', ['working_time_index' => $key, 'section' => $section->id, 'sitem' => $sitem->id]) @endforeach
@lang('global.days') @lang('validation.attributes.start_time') @lang('validation.attributes.end_time') @lang('global.actions')
@endif @endcan @if ($section->children->isNotEmpty()) @foreach ($section->children as $section_child)
@if ($section_child->sitems->isNotEmpty())
@foreach ($section_child->sitems as $sitem) @endforeach
@lang('validation.attributes.sitems') @lang('validation.attributes.available') @lang('global.manage_reservations_times')
{{ $sitem->title }}

@foreach ($sitems_sections[$section_child->id][$sitem->id]['working_times_grouped_by_time'] as $key => $work_time) @include('spa.branches.helpers.working_time', ['working_time_index' => $key, 'section' => $section_child->id, 'sitem' => $sitem->id]) @endforeach
@lang('global.days') @lang('validation.attributes.start_time') @lang('validation.attributes.end_time') @lang('global.actions')
@endif
@endforeach @endif
@endforeach
@endif @can('update_portfolio', $branch)

@lang('global.general_information')

{{ $branch->settings->portfolio->menu->title->{$locale} ?? __('global.menu') }}

{{ $branch->settings->portfolio->services_title->{$locale} }}

@foreach ($branch->settings->portfolio->services as $index => $service) @include('spa.branches.helpers.service', ['service' => $service, 'service_index' => $index]) @endforeach
@lang('validation.attributes.title') (@lang('global.arabic')) * @lang('validation.attributes.title') (@lang('global.english')) * @lang('validation.attributes.link') * @lang('validation.attributes.image') * @lang('global.actions')
@endcan @can('update_orders_settings', $branch)
@endcan @can('update_working_times', $branch)
@foreach ($days as $day)

@endforeach
@endcan
@endsection