@if(count($enrollments) > 0)
@foreach($enrollments as $enrollment) @if($enrollment->course_id) @endif @endforeach
{{__('Course')}} {{__('Author')}} {{__('Price')}} {{__('Order ID')}} {{__('Validity')}} {{__('Progress')}} {{__('Action')}}
@if($special) {{ @$special }} @endif course
{{ @$enrollment->course->title }}
@if(get_option('refund_system_mode', false))
@if($enrollment->unit_price > 0 && $enrollment->user_id == $enrollment->order->user_id) @endif report{{__('Invoice')}}
@endif
{{ @$enrollment->course->instructor->name }} @if($enrollment->unit_price > 0) @if(get_currency_placement() == 'after') {{ $enrollment->unit_price }} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{ $enrollment->unit_price }} @endif @else {{ __('Free') }} @endif {{@$enrollment->order->order_number}} {{ (checkIfExpired($enrollment)) ? (checkIfLifetime($enrollment->end_date) ? __('Lifetime') : \Carbon\Carbon::now()->diffInDays($enrollment->end_date, false).' '.__('days left') ) : __('Expired') }}
{{number_format(studentCourseProgress(@$enrollment->course->id, @$enrollment->id), 2)}}%
@if(checkIfExpired($enrollment)) {{ __('View') }} @else {{ __('Renew') }} @endif
@else
img

{{ __('Empty Course') }}

@endif @if(@$enrollments->hasPages()) {{ @$enrollments->links('frontend.paginate.paginate') }} @endif