@extends('layouts.app')
@section('title', 'Statistiche β RoBenz')
@push('head')
@endpush
@section('content')
{{-- HEADER --}}
π
Nessun dato statistico disponibile
Esegui questi comandi sul server per generare le statistiche:
php artisan db:seed --class=MonthlyHistorySeeder
php artisan stats:compute --days=31
Oppure aspetta domani: il sistema calcola le statistiche automaticamente alle 10:00.
@else
@php
$fuelMeta = [
'Benzina' => [
'icon' => 'π’',
'avgCss' => 'text-brand-700',
'bgCss' => 'bg-brand-50',
'border' => 'border-brand-200',
'barCss' => 'bg-brand-500',
'sparkHex'=> '#16a34a',
],
'Gasolio' => [
'icon' => 'π΅',
'avgCss' => 'text-blue-700',
'bgCss' => 'bg-blue-50',
'border' => 'border-blue-200',
'barCss' => 'bg-blue-500',
'sparkHex'=> '#3b82f6',
],
'GPL' => [
'icon' => 'π£',
'avgCss' => 'text-purple-700',
'bgCss' => 'bg-purple-50',
'border' => 'border-purple-200',
'barCss' => 'bg-purple-500',
'sparkHex'=> '#a855f7',
],
'Metano' => [
'icon' => 'π ',
'avgCss' => 'text-orange-700',
'bgCss' => 'bg-orange-50',
'border' => 'border-orange-200',
'barCss' => 'bg-orange-500',
'sparkHex'=> '#f97316',
],
];
$sparkIdx = 0;
@endphp