@php $locale = app()->getLocale(); $isRtl = $locale === 'ar'; @endphp @extends('layouts.app') @section('title', __('app.dashboard')) @section('content')
{{ __('app.welcome_message') }} 👋
{{ __('app.track_progress') }}
{{ __('app.total_members') }}
{{ number_format($stats['total_members'] ?? 0) }}
{{ __('app.compared_to') }} ({{ $stats['last_week_members'] ?? 0 }} {{ __('app.last_week') }})
{{ __('app.active_subscriptions') }}
{{ number_format($stats['active_subscriptions'] ?? 0) }}
{{ __('app.compared_to') }} ({{ $stats['last_month_subscriptions'] ?? 0 }} {{ __('app.last_month') }})
{{ __('app.daily_checkins') }}
{{ $stats['attendance_rate'] ?? 67 }}%
{{ $stats['attendance_today'] ?? 0 }} {{ __('app.checked_in_today') }}
{{ __('app.active_trainers') }}
{{ $stats['total_trainers'] ?? 0 }}
{{ __('app.professional_coaches') }}
{{ __('app.monthly') }}
{{ $expiringSubscriptions->count() ?? 5 }}
{{ __('app.expiring_this_week') }}
{{ $member['name'] }}
{{ $member['days'] }} {{ __('app.days_left') }}
{{ __('app.gates') }}
{{ $isRtl ? 'فتح شاشة البوابة' : 'Open Gate Terminal' }}
89%
{{ __('app.performance_note') }}
{{ $task['title'] }}
{{ $isRtl ? 'إجمالي هذا الشهر' : 'This Month Total' }}
{{ number_format(45250) }}
{{ \App\Models\Setting::currencyLabel($locale) }}