@extends(getTemplate('admin')) @section('content') @push('custom-css') @endpush
@include('themes.admin.default.components.hub-alert-widget',['alerts' => $alerts, 'count' => $countAlerts])
@php $cs = 0; if(intval($todayVisits) != 0) $cs = 100 - intval($lastWeekVisitorsCount) / intval($todayVisits) * 100; $cs = intval($cs); $cStat = ($cs >= 0) ? 'Better than last week ('.$cs.'%)': 'Worse than last week ('.(-1)*$cs.'%)'; @endphp
TODAY'S VISITS
{{$todayVisits}}
{{$cStat}}
TOTAL VISITORS
{{$totalVisits}}
TOTAL MEMBERS
{{\App\Models\User::count()}}
Better than last week (76.3%)
{{-- @if(module_exists('memberships')) @endif--}} @if(module_exists('memberships')) @endif @if(module_exists('events')) @endif @if(module_exists('meeting_rooms')) @endif @if(module_exists('events')) @endif @if(module_exists('meeting_rooms')) @endif
@push('custom-js') @endpush @endsection