@if(count($enrollments) > 0)
| {{__('Course')}} | {{__('Author')}} | {{__('Price')}} | {{__('Order ID')}} | {{__('Validity')}} | {{__('Progress')}} | {{__('Status')}} | {{__('Action')}} |
|---|---|---|---|---|---|---|---|
|
|
{{ @$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') }} | @if(isset($enrollment->completed_time)) {{__('Completed')}} @else {{__('Not Completed Yet')}} @endif | @if(checkIfExpired($enrollment)) {{ __('View') }} @else {{ __('Renew') }} @endif |