@extends('layouts.app')
@section('title', $station->managerLabel() . ' – ' . ucwords(strtolower($station->municipality)))
@section('content')
{{-- Back --}}
Torna alla classifica
{{-- HEADER DISTRIBUTORE --}}
⛽
{{ $station->managerLabel() }}
@if($station->name && strtolower($station->name) !== strtolower($station->managerLabel()))
{{ $station->name }}
@endif
{{ $station->address }}
{{ ucwords(strtolower($station->municipality)) }} ({{ $station->province }})
{{-- Link azioni --}}
{{-- TASK 5: Mappa Leaflet inline --}}
@if($station->lat && $station->lng)
@endif
{{-- PREZZI --}}
Prezzi comunicati
@if($prices->isEmpty())
Nessun prezzo disponibile per questo impianto.
@else
@foreach($prices as $fuelType => $fuelPrices)
{{ $fuelPrices->first()->fuelEmoji() }}
{{ $fuelType }}
@foreach($fuelPrices->sortByDesc('is_self') as $price)
{{ $price->modeLabel() }}
{{ $price->reported_at?->format('d/m/Y H:i') ?? '–' }}
{{ $price->formattedPrice() }}
@endforeach
@endforeach
@endif
{{-- GRAFICO STORICO --}}
Andamento storico (self service)
@endsection
{{-- TASK 5: Leaflet scripts --}}
@push('scripts')
@if($station->lat && $station->lng)
@endif
@endpush