@php( $title = 'Customer Dashboard' ) @php( $heading = 'Welcome back' ) @php( $sidebar = view()->make('dashboard.partials.customer-sidebar')->render() ) @extends('layouts.dashboard', compact('title','heading','sidebar')) @section('content')
{{-- Notice bar will be rendered by the dashboard layout to avoid duplication --}}
@php($u = auth()->user()) @php($avatarUrl = !empty($u->avatar_path) ? \Illuminate\Support\Facades\Storage::disk('public')->url($u->avatar_path) : ( ($u->gender ?? 'male') === 'female' ? 'https://api.dicebear.com/7.x/adventurer/svg?seed='.urlencode($u->name).'&gender=female' : 'https://api.dicebear.com/7.x/adventurer/svg?seed='.urlencode($u->name).'&gender=male' ) )
Avatar

Welcome back, {{ $u->name }} 👋

Plan: {{ $activePlan->name ?? 'Free' }}

Your personalized dashboard overview

Daily Download
{{ number_format($dailyDownloads ?? 0) }}
Total Download
{{ number_format($totalDownloads ?? 0) }}
Total Activation
{{ number_format($totalActivations ?? 0) }}
Total Tickets
{{ number_format($totalTickets ?? 0) }}

Your Membership

Current Plan: {{ $activePlan->name ?? 'Free' }}

Manage or upgrade your plan for more benefits.

@include('partials.category-card-section')
{{-- Recently added section removed by request --}} @endsection @section('footer_scripts') @endsection