@extends('restaurant.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 (restaurant_admin()->can('updateAny', 'App\Models\Meal') || restaurant_admin()->can('updateAny', 'App\Models\RestaurantSection'))
@foreach ($branch->restaurant->sections()->onlyParents()->get() as $section)
id", ...$section->children->map(fn($child) => "#section-$child->id")) }}' id="section-{{ $section->id }}" role="tabpanel"> @can('updateAny', 'App\Models\RestaurantSection') @if ($section->meals->isNotEmpty())
@foreach ($section->meals as $meal) @endforeach
@lang('validation.attributes.meals') @lang('validation.attributes.available') @lang('validation.attributes.start_time') @lang('validation.attributes.end_time')
{{ $meal->title }}
@endif @if ($section->children->isNotEmpty()) @foreach ($section->children as $section_child)
@if ($section_child->meals->isNotEmpty())
@foreach ($section_child->meals as $meal) @endforeach
@lang('validation.attributes.meals') @lang('validation.attributes.available') @lang('validation.attributes.start_time') @lang('validation.attributes.end_time')
{{ $meal->title }}
@endif
@endforeach @endif @endcan
@endforeach
@endif @can('viewAny', 'App\Models\Table')
@can('create', 'App\Models\Table')

@endcan
@lang('validation.attributes.title') @lang('global.actions')
@endcan @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('restaurant.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)

@lang('global.tips')

@foreach ($branch->settings->orders->tips->data ?? [] as $index => $tip) @include('restaurant.branches.helpers.tip', ['tip' => $tip, 'tip_index' => $index]) @endforeach
@lang('validation.attributes.amount') @lang('global.actions')
@endcan @can('update_working_times', $branch)
@foreach ($days as $day)

@endforeach
@endcan
@endsection