@extends('admin.layouts.app') @section('title', d_trans('Dashboard')) @section('header_title', d_trans('Dashboard')) @section('content') @if (!config('settings.cronjob.last_execution'))

{{ d_trans('Cron Job Not Working') }}

{{ d_trans("It seems that your Cron Job isn't set up correctly, which might be causing it not to work as expected. Please double-check and ensure that your Cron Job is properly configured.") }}

{{ d_trans('Cron Job is required by multiple things to be run (Emails, Refresh businesses, Cache, Sitemap, etc...)') }}

{{ d_trans('Setup Cron Job') }}
@endif @if (!config('settings.smtp.status'))

{{ d_trans('SMTP Is Not Enabled') }}

{{ d_trans('SMTP is not enabled, set it now to be able to recover the password and use all the features that needs to send an email.') }}

{{ d_trans('Setup SMTP') }}
@endif @if (licenseType(2) && config('settings.subscription.status'))

{{ d_trans('Earnings') }}

{{ getAmount($counters['earnings']) }}

{{ d_trans('Subscriptions') }}

{{ $counters['subscriptions'] }}

{{ d_trans('Transactions') }}

{{ $counters['transactions'] }}

@endif

{{ d_trans('Total Businesses') }}

{{ $counters['businesses'] }}

{{ d_trans('Total Reviews') }}

{{ $counters['reviews'] }}

{{ d_trans('Pending Reviews') }}

{{ $counters['pending_reviews'] }}

{{ d_trans('Reported Reviews') }}

{{ $counters['reported_reviews'] }}

{{ d_trans('Business Owners') }}

{{ $counters['business_owners'] }}

{{ d_trans('Users') }}

{{ $counters['users'] }}

{{ d_trans('KYC Verifications') }}

{{ $counters['kyc_verifications'] }}

{{ d_trans('KYC Pending') }}

{{ $counters['pending_kyc_verifications'] }}

{{ d_trans('Users Statistics For This Month') }}

{{ d_trans('Recently registered users') }}

@if ($users->count() > 0)
@foreach ($users as $user)
{{ $user->getName() }}
{{ $user->getName() }}

{{ $user->created_at->diffforhumans() }}

@endforeach
@else
@include('admin.partials.empty')
@endif

{{ d_trans('Recently added businesses') }}

@if ($businesses->count() > 0)
@foreach ($businesses as $business)
{{ $business->trans->name }}
{{ $business->trans->name }}

{{ $business->created_at->diffforhumans() }}

@endforeach
@else
@include('admin.partials.empty')
@endif

{{ d_trans('Businesses Statistics For This Month') }}

{{ d_trans('Reviews Statistics For This Month') }}

@push('top_scripts') @endpush @push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection