@if($course->intro_video_check == 1 && getVideoFile($course->video))
@endif
@if($course->intro_video_check == 2 && $course->youtube_video_id)
@endif
@if($course->learner_accessibility == 'paid')
@if(now()->gt($startDate) && now()->lt($endDate))
@if(get_currency_placement() == 'after')
{{ $discount_price }} {{ get_currency_symbol() }}
@else
{{ get_currency_symbol() }} {{ $discount_price }}
@endif
@if(get_currency_placement() == 'after')
{{ $course->price }} {{ get_currency_symbol() }}
@else
{{ get_currency_symbol() }} {{ $course->price }}
@endif
{{ getLeftDuration($startDate, $endDate) }} {{ __('Left at this Price') }}!
{{ @$percentage }}% off
@else
@if(get_currency_placement() == 'after')
{{ $course->price }} {{ get_currency_symbol() }}
@else
{{ get_currency_symbol() }} {{ $course->price }}
@endif
@endif
@elseif($course->learner_accessibility == 'free')
@if($course_exits == 'enrolled')
@elseif($course_exits == 'cartList')
@else
@if(@Auth::user() && Auth::user()->is_affiliator == AFFILIATOR && get_option('referral_status'))