@extends('admin.layouts.app') @section('title', 'Statistics') @section('content')
@if($statistics->count() > 0)
@foreach($statistics as $statistic) @endforeach
Icon Title Value Suffix Status Sort Order Last Updated Actions
@if($statistic->icon) @else @endif {{ $statistic->title }} {{ number_format($statistic->value) }} @if($statistic->suffix) {{ $statistic->suffix }} @else - @endif @if($statistic->is_active) Active @else Inactive @endif {{ $statistic->sort_order }} {{ $statistic->updated_at->format('M d, Y') }}
@csrf @method('DELETE')
@if($statistics->hasPages())
{{ $statistics->links() }}
@endif @else

No Statistics Found

Start by creating your first statistic to showcase your achievements.

Create First Statistic
@endif
@if($statistics->where('is_active', true)->count() > 0)
Preview - Active Statistics
@foreach($statistics->where('is_active', true)->sortBy('sort_order') as $statistic)
@if($statistic->icon) @endif

{{ number_format($statistic->value) }}{{ $statistic->suffix }}

{{ $statistic->title }}

@endforeach
This is how the statistics will appear on your website
@endif
@endsection