{{ __('trainings.catalog_title') }}

{{ __('trainings.catalog_intro') }}

@if ($notice){{ $notice }} {{ __('trainings.catalog_open_tracking') }}@endif @error('catalog'){{ $message }} {{ __('trainings.see_offers') }}@enderror @if ($aiAllowed)

{{ __('ai.suggestions_title') }}

{{ __('ai.suggestions_intro') }} {{ __('ai.title') }}

{{ __('ai.suggestions_button') }} @if ($suggestError){{ $suggestError }}@endif @foreach ($suggestions as $s)

{{ $s['item']->title }}

{{ $s['reason'] }}

@unless (in_array($s['item']->id, $tracked, true)){{ __('trainings.catalog_add') }}@endunless
@endforeach
@endif
@forelse ($items as $item) @php $isTracked = in_array($item->id, $tracked, true); @endphp

{{ $item->title }}

{{ $item->provider }}

@if ($isTracked){{ __('trainings.catalog_tracked') }}@endif
{{ $item->format->label() }} @if ($item->level){{ $item->level->label() }}@endif @if ($item->duration_hours){{ __('trainings.catalog_duration', ['hours' => $item->duration_hours]) }}@endif {{ $item->price === null ? __('trainings.catalog_no_price') : ($item->price === 0 ? __('trainings.catalog_price_free') : App\Support\Money::format($item->price)) }}
@if ($item->description)

{{ $item->description }}

@endif @if (! empty($item->skills))

{{ __('trainings.catalog_skills') }} : {{ implode(', ', $item->skills) }}

@endif @if ($item->sessionLines())

{{ __('trainings.catalog_sessions') }}

    @foreach ($item->sessionLines() as $line)
  • {{ $line }}
  • @endforeach
@endif
@unless ($isTracked){{ __('trainings.catalog_add') }}@endunless @if ($item->signup_url){{ __('trainings.catalog_signup') }}@endif
@empty

{{ __('trainings.catalog_empty') }}

@endforelse