@php $user = auth()->user(); @endphp @if (!empty($webinar->price) and $webinar->price > 0) @if (!empty($user) && $user->hasDepartmentTrainingAccess($webinar)) Included in your training @else @if ($webinar->bestTicket() < $webinar->price) {{ handlePrice($webinar->price, true, true, false, null, true) }} {{ handlePrice($webinar->bestTicket(), true, true, false, null, true) }} @else {{ handlePrice($webinar->price, true, true, false, null, true) }} @endif @endif @else @if (!empty($user) && $user->hasDepartmentTrainingAccess($webinar)) Included in your training @else {{ trans('public.free') }} @endif @endif