@extends('admin.layout') @section('content')

Analytics

@csrf
@if(!empty($errors->all()))
@foreach ($errors->all() as $error) {{ $error }}
@endforeach
@endif @if (session('message'))
{{ session('message') }}
@endif
@if( count($analytics) != 0 ) @foreach ($analytics as $analytic) @endforeach @else @endif
Date Type Value Count Created at Upadated at
{{ $analytic->date }} {{ $analytic->type }} {{ $analytic->value }} {{ $analytic->count }} {{ !empty($analytic->created_at) ? date_format($analytic->created_at,"Y-m-d") : null }} {{ !empty($analytic->updated_at) ? date_format($analytic->updated_at,"Y-m-d") : null }}
No record found
{{ $analytics->links() }}
@livewire('stat-graph', ['model' => 'DailyGlobalStats', 'table' => 'daily_global_stats'])
@endsection