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

@lang('global.general_information')

@lang('global.link')

@lang('global.location')

@endcan @can('update_qr', $branch)
@can('update_qr', $branch) @endcan
@can('update_qr', $branch) @endcan
@endcan @if (charity_admin()->can('updateAny', 'App\Models\Citem') || charity_admin()->can('updateAny', 'App\Models\CharitySection'))
@foreach ($branch->charity->sections()->onlyParents()->get() as $section)
id", ...$section->children->map(fn($child) => "#section-$child->id")) }}' id="section-{{ $section->id }}" role="tabpanel"> @can('updateAny', 'App\Models\CharitySection') @if ($section->citems->isNotEmpty())
@foreach ($section->citems as $citem) @endforeach
@lang('validation.attributes.citems') @lang('validation.attributes.available') @lang('validation.attributes.start_time') @lang('validation.attributes.end_time')
{{ $citem->title }}
@endif @if ($section->children->isNotEmpty()) @foreach ($section->children as $section_child)
@if ($section_child->citems->isNotEmpty())
@foreach ($section_child->citems as $citem) @endforeach
@lang('validation.attributes.citems') @lang('validation.attributes.available') @lang('validation.attributes.start_time') @lang('validation.attributes.end_time')
{{ $citem->title }}
@endif
@endforeach @endif @endcan
@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('charity.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('charity.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