@extends('layouts.app') @section('content')
| Consumption Type | Sessions | Total Amount (€) | Total Energy (kWh) |
|---|---|---|---|
| {{ $consumptionType }} | {{ $stats['count'] }} | {{ number_format($stats['amount'], 2, ',', '.') }} | {{ rtrim(rtrim(number_format($stats['kwh'], 4, ',', '.'), '0'), ',') }} |
(From the last two months)
| Session ID | Start | End | Charger ID - Address | Charge Location | Payment Type | Energy (kWh) | Amount (€) |
|---|---|---|---|---|---|---|---|
| {{ $session->ampeco_session_id ?? 'N/A' }} | {{ $session->started_at?->format('d/m/Y H:i') ?? 'N/A' }} | {{ $session->stopped_at?->format('d/m/Y H:i') ?? 'N/A' }} | {{ $session->ampeco_charge_point_id ?? 'N/A' }} @if ($session->location_address_en === 'ACCESS_DENIED') - access denied @elseif ($session->location_address_en === 'NOT_AVAILABLE') - Int Roaming @elseif ($session->location_address_en) - {{ $session->location_address_en_display ?? 'N/A' }} @endif | @if ($session->display_access_type === 'access denied') access denied @elseif ($session->display_access_type === 'not available') Int Roaming @else {{ $session->display_access_type ?? 'N/A' }} @endif | {{ $session->display_payment_type ?? 'N/A' }} | @php $kwh = ($session->energy ?? 0) / 1000; $formattedKwh = rtrim(rtrim(number_format($kwh, 4, ',', '.'), '0'), ','); @endphp{{ $formattedKwh }} | {{ number_format($session->amount ?? 0, 2, ',', '.') }} |