@can('update_general', $branch)
@lang('global.general_information')
@lang('global.link')
@lang('global.location')
@endcan
@can('update_qr', $branch)
@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())
@lang('validation.attributes.citems') |
@lang('validation.attributes.available') |
@lang('validation.attributes.start_time') |
@lang('validation.attributes.end_time') |
@foreach ($section->citems as $citem)
{{ $citem->title }} |
|
|
|
@endforeach
@endif
@if ($section->children->isNotEmpty())
@foreach ($section->children as $section_child)
@if ($section_child->citems->isNotEmpty())
@lang('validation.attributes.citems') |
@lang('validation.attributes.available') |
@lang('validation.attributes.start_time') |
@lang('validation.attributes.end_time') |
@foreach ($section_child->citems as $citem)
{{ $citem->title }} |
|
|
|
@endforeach
@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} }}
@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('charity.branches.helpers.service', ['service' => $service, 'service_index' => $index])
@endforeach
@endcan
@can('update_orders_settings', $branch)
{{--
--}}
{{--
--}}
{{--
@lang('global.tips')
@lang("validation.attributes.amount") |
@lang("global.actions") |
@foreach ($branch->settings->orders->tips->data ?? [] as $index => $tip)
@include('charity.branches.helpers.tip',['tip' => $tip,'tip_index' => $index])
@endforeach
--}}
@endcan
@can('update_working_times', $branch)
@endcan