@extends('design_1.panel.layouts.panel') @section('content') @if($activePackage)

{{ trans('update.active_package') }}

{{-- Name --}}
@if(!empty($activePackage->icon))
@endif
{{ $activePackage->title }}

{{ trans('financial.active_plan') }}

{{ $activePackage->days_remained ?? trans('update.unlimited') }}

{{ trans('financial.days_remained') }}

{{ !empty($activePackage->activation_date) ? dateTimeFormat($activePackage->activation_date , 'j M Y') : '-' }}

{{ trans('update.activation_date') }}

{{ (!empty($activePackage->activation_date) and !empty($activePackage->days)) ? dateTimeFormat($activePackage->activation_date + $activePackage->days * 86400 , 'j M Y') : trans('update.unlimited') }}

{{ trans('update.expiry_date') }}

@if(!empty($activePackage->days)) {{ $activePackage->days }} {{ trans('public.days') }} @else {{ trans('update.unlimited') }} @endif

{{ trans('update.package_duration') }}

{{ trans('update.plan_statistics') }}

{{ trans('product.course') }}
@if(!empty($activePackage) and isset($activePackage->courses_count)) {{ $accountStatistics['myCoursesCount'] }}/{{ $activePackage->courses_count }} @else {{ trans('update.unlimited') }} @endif
{{ trans('update.live_students') }}
@if(!empty($activePackage) and isset($activePackage->courses_capacity)) {{ $activePackage->courses_capacity }} @else {{ trans('update.unlimited') }} @endif
{{ trans('update.meeting_hours') }}
@if(!empty($activePackage) and isset($activePackage->meeting_count)) {{ $accountStatistics['myMeetingCount'] }}/{{ $activePackage->meeting_count }} @else {{ trans('update.unlimited') }} @endif
{{ trans('update.products') }}
@if(!empty($activePackage) and isset($activePackage->product_count)) {{ $accountStatistics['myProductCount'] }}/{{ $activePackage->product_count }} @else {{ trans('update.unlimited') }} @endif
{{ trans('update.events') }}
@if(!empty($activePackage) and isset($activePackage->events_count)) {{ $accountStatistics['myEventsCount'] }}/{{ $activePackage->events_count }} @else {{ trans('update.unlimited') }} @endif
{{ trans('update.meeting_packages') }}
@if(!empty($activePackage) and isset($activePackage->meeting_packages_count)) {{ $accountStatistics['myMeetingPackagesCount'] }}/{{ $activePackage->meeting_packages_count }} @else {{ trans('update.unlimited') }} @endif
@else

{{ trans('update.no_service_package') }}

{{ trans('update.no_service_package_hint') }}

{{ trans('update.no_service_package') }}
@endif {{-- Packages --}}

{{ trans('update.select_a_plan') }}

@foreach($packages as $package) @php $specialOffer = $package->activeSpecialOffer(); @endphp
@endforeach
@endsection @push('scripts_bottom') @endpush