{{-- Price Plans --}} @if((!isFreeModeEnabled() || isFreeModeShowPriceEnabled()) and !empty($course->tickets) and count($course->tickets))
{{ trans('update.select_a_pricing_plan') }}
@foreach($course->tickets as $ticket) @php $ticketIsValid = $ticket->isValid(); @endphp
@if(!$ticketIsValid) {{ trans('panel.expired') }} @endif
@endforeach
@endif {{-- Price --}} @if((!isFreeModeEnabled() || isFreeModeShowPriceEnabled()) and $course->price > 0) @php $realPrice = handleCoursePagePrice($course->price); @endphp
@if(!empty($activeSpecialOffer))
@php $priceWithDiscount = handleCoursePagePrice($course->getPrice()); @endphp
{{ $priceWithDiscount['price'] }}
@if(!empty($priceWithDiscount['tax'])) + {{ $priceWithDiscount['tax'] }} {{ trans('cart.tax') }} @endif
@endif
{{ $realPrice['price'] }}
@if(!empty($realPrice['tax']) and empty($activeSpecialOffer)) + {{ $realPrice['tax'] }} {{ trans('cart.tax') }} @endif
@else
{{ trans('public.free') }}
@endif