@extends('layouts.user_type.auth') @section('header_title', __('Dashboard')) @section('content') @php $formatNumber = fn ($value) => number_format((int) $value); $formatMoney = fn ($value) => number_format((int) $value) . ' ' . __('Toman'); @endphp
{{ $card['title'] }}
{{ __('Open tickets') }}: {{ $formatNumber($managementSummary['open_tickets']) }}
{{ __('Pending top-ups') }}: {{ $formatNumber($managementSummary['pending_wallet_topups']) }}
{{ __('Active live streams') }}: {{ $formatNumber($managementSummary['active_live_rooms']) }}
{{ __('Total wallet balance') }}: {{ $formatMoney($financialSummary['wallet_balance']) }}
{{ __('This month revenue') }}: {{ $formatMoney($financialSummary['this_month_revenue']) }}
{{ __('Total plan revenue') }}: {{ $formatMoney($financialSummary['total_plan_revenue']) }}
{{ __('Active subscriptions') }}: {{ $formatNumber($financialSummary['active_subscriptions']) }}
{{ __('Active plans') }}: {{ $formatNumber($financialSummary['active_plans']) }}
{{ __('No plan sales yet.') }}
@endforelse| {{ __('Name') }} | {{ __('Mobile') }} | {{ __('Role') }} |
|---|---|---|
| {{ trim(($user->fname ?? '') . ' ' . ($user->lname ?? '')) ?: '-' }} | {{ $user->tel ?: '-' }} | {{ $user->role_name ?: '-' }} |
| {{ __('No users found.') }} | ||
| {{ __('Title') }} | {{ __('User') }} | {{ __('Amount') }} | {{ __('Status') }} |
|---|---|---|---|
| {{ $transaction->title }} | {{ $transaction->user?->tel ?: $transaction->user?->email ?: '-' }} | {{ $formatMoney($transaction->amount) }} | {{ $transaction->status }} |
| {{ __('No transactions found.') }} | |||