@can('update_general', $branch)
@lang('global.general_information')
@lang('global.location')
@endcan
@can('update_qr', $branch)
@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())
@lang('validation.attributes.sitems') |
@lang('validation.attributes.available') |
@lang('global.manage_reservations_times') |
@foreach ($section->sitems as $sitem)
{{ $sitem->title }} |
|
@lang('global.days') |
@lang('validation.attributes.start_time') |
@lang('validation.attributes.end_time') |
@lang('global.actions') |
@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
|
@endforeach
@endif
@endcan
@if ($section->children->isNotEmpty())
@foreach ($section->children as $section_child)
@if ($section_child->sitems->isNotEmpty())
@lang('validation.attributes.sitems') |
@lang('validation.attributes.available') |
@lang('global.manage_reservations_times') |
@foreach ($section_child->sitems as $sitem)
{{ $sitem->title }} |
|
@lang('global.days') |
@lang('validation.attributes.start_time') |
@lang('validation.attributes.end_time') |
@lang('global.actions') |
@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
|
@endforeach
@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} }}
@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') |
@foreach ($branch->settings->portfolio->services as $index => $service)
@include('spa.branches.helpers.service', ['service' => $service, 'service_index' => $index])
@endforeach
@endcan
@can('update_orders_settings', $branch)
@endcan
@can('update_working_times', $branch)
@endcan