@extends(getTemplate() .'.panel.layouts.panel_layout')
@push('styles_top')
@endpush
@section('content')
{{ trans('panel.dashboard_portfolio_subtitle') }} {{ $authUser->email }} {{ trans('panel.your_serial_number') }} {{ trans('panel.quick_actions') }} {{ trans('panel.no_certificate_courses_yet') }}{{ trans('panel.dashboard') }}
@if(!$authUser->isUser())
{{ trans('panel.learning_portfolio') }}
{{ $authUser->full_name }}
@if(!empty($authUser->email))
{{ trans('panel.in_progress_courses_title') }}
@foreach($studentPortfolio['in_progress_courses']->slice(1) as $ipc)
@php $ipcW = $ipc['webinar']; @endphp
{{ $ipcW->title }}
{{ (int) $ipc['progress'] }}%
@endforeach
{{ trans('panel.certificates_progress_section') }}
@if(!empty($studentPortfolio['pending_certificates_count']) && $studentPortfolio['pending_certificates_count'] > 0)
{{ trans('panel.pending_certificates_badge', ['count' => $studentPortfolio['pending_certificates_count']]) }}
@endif
@if(!empty($studentPortfolio['certificate_courses']))
@foreach($studentPortfolio['certificate_courses'] as $certRow)
@php $cw = $certRow['webinar']; @endphp
{{ trans('quiz.generated_certificates') }}
@endif
@foreach($studentPortfolio['generated_certificates'] as $genCert)
@php $genDownloadUrl = certificateDownloadUrl($genCert); @endphp
{{ trans('panel.account_balance') }}
{{ addCurrencyToPrice($authUser->getAccountingBalance()) }}
{{ trans('panel.noticeboard') }}
@foreach($authUser->getUnreadNoticeboards() as $getUnreadNoticeboard)
{!! truncate($getUnreadNoticeboard->title,150) !!}
{{ ($authUser->isUser()) ? trans('panel.learning_statistics') : trans('panel.monthly_sales') }}
{{ dateTimeFormat(time(),'M Y') }}
{{ trans('panel.offline_hint') }}