{{ __('Dashboard') }}

{{ config('app.currency') . $totalBills }}

{{ __('Total Bills') }}

{{ config('app.currency') . $totalPayments }}

{{ __('Total Payments') }}

{{ config('app.currency') . $billsThisMonth }}

{{ __('Bills This Month') }}

{{ config('app.currency') . $paymentsThisMonth }}

{{ __('Payments This Month') }}

{{ __('Billing and payment per month') }}

{{ __('Billing and payment per day') }}

{{ __('Total Users') }}

{{ $totalUsers }}

{{ __('Users With Due') }}

{{ $usersWithDueCount }}

{{ __('Bills This Year') }}

{{ config('app.currency') . $billsThisYear }}

{{ __('Payments This Year') }}

{{ config('app.currency') . $paymentsThisYear }}

{{ __('Recent Users') }}

@foreach ($recentUsers as $user) @endforeach
{{ __('Name') }} {{ __('Package') }} {{ __('Joined') }}
{{ $user->name }} {{ $user->detail->package_name }} {{ date('Y-m-d', strtotime($user->created_at)) }}

{{ __('Recent Payments') }}

@foreach ($recentPayments as $payment) @endforeach
{{ __('User') }} {{ __('Amount') }} {{ __('Date') }}
{{ $payment->user->name }} {{ config('app.currency') . $payment->package_price }} {{ date('Y-m-d', strtotime($payment->created_at)) }}

{{ __('Users With Due') }}

@foreach ($usersWithDueList as $user) @endforeach
{{ __('Name') }} {{ __('Package') }} {{ __('Due') }}
{{ $user->name }} {{ $user->detail->package_name }} {{ config('app.currency') . $user->due_amount($user->id) }}

{{ __('Recent Tickets') }}

@foreach ($recentTickets as $ticket) @endforeach
{{ __('Subject') }} {{ __('Status') }} {{ __('Date') }}
{{ $ticket->subject }} {{ $ticket->status }} {{ date('Y-m-d', strtotime($ticket->created_at)) }}
@push('scripts') @endpush