@if (date('Y-m-d H:i:s', strtotime('-7 days')) >= $course->created_at)
@if (in_array($course->id, $topCourse))
{{ __('Best Seller') }}
@endif
@else
{{ __('New course') }}
@endif
@if($special)
{{ __(@$special) }}
@endif
{{ $course->$userRelation->name }}
@foreach($course->$userRelation->awards as $award) | {{ $award->name }} @endforeach
{{ @$course->average_rating }}
@include('frontend.course.render-course-rating')
({{ @$course->orderItems->count() }})
@if($course->learner_accessibility == 'paid')
@if(now()->gt($startDate) && now()->lt($endDate))
{{ __('Price') }}:
@if($currencyPlacement ?? get_currency_placement() == 'after')
{{ $discount_price }} {{ $currencySymbol ?? get_currency_symbol() }}
@else
{{ $currencySymbol ?? get_currency_symbol() }} {{ $discount_price }}
@endif
@if($currencyPlacement ?? get_currency_placement() == 'after')
{{ $course->price }} {{ $currencySymbol ?? get_currency_symbol() }}
@else
{{ $currencySymbol ?? get_currency_symbol() }} {{ $course->price }}
@endif
@else
{{ __('Price') }}:
@if($currencyPlacement ?? get_currency_placement() == 'after')
{{ $course->price }} {{ $currencySymbol ?? get_currency_symbol() }}
@else
{{ $currencySymbol ?? get_currency_symbol() }} {{ $course->price }}
@endif
@endif
@elseif($course->learner_accessibility == 'free')
{{ __('Free') }}
@endif