@extends('bn.dashboard.layout') @section('title', 'Dashboard') @section('dashboard-content')
@if(!empty($mappingProblem))
We couldn’t match your login to a WordPress user. Set a wp_user_id on your Laravel user or ensure the email matches wp_users.user_email.
@endif

মোট এনরোল

{{ $totalEnrolled ?? 0 }}

ই-বুক এনরোল

{{ $counts['ebook'] ?? 0 }}

কোর্স এনরোল

{{ $counts['courses'] ?? 0 }}

লাইভ ক্লাস এনরোল

{{ $counts['live_class'] ?? 0 }}

অপেক্ষমাণ এনরোলমেন্ট

{{ $pendingCounts['total'] ?? 0 }}
Ebooks: {{ $pendingCounts['ebook'] ?? 0 }} · Courses: {{ $pendingCounts['courses'] ?? 0 }} · Live: {{ $pendingCounts['live_class'] ?? 0 }}

এনরোলকৃত আইটেমসমূহ ({{ $items->count() }})

@if($mappingProblem)
Could not resolve WordPress account mapping.
@endif
@forelse($items as $index => $item) @empty @endforelse
# Title Type Order ID Payment Status Enroll Date
{{ $index + 1 }} {{ $item->post_title }} {{ ucwords(str_replace('_', ' ', $item->post_type)) }} {{ $item->order_id }} @if($item->payment_status === 'pending') Pending @else Completed @endif {{ \Carbon\Carbon::parse($item->post_date)->format('d/m/Y') }}
No enrolled items found.
@endsection