@extends('layouts.admin') @section('title', 'Client Details - EV Charging Network') @section('breadcrumb_title', 'Management') @section('breadcrumb_sub_title', 'Client Details') @section('page_title', 'Client Details') @section('content')
Client Profile
{{-- --}}
{{ $client->full_name }}
{{ $client->status ? 'Active' : 'Inactive' }}
{{ $client->full_name }}

{{ $client->email }}

{{ $client->contact }}

{{--
{{ $client->user_name }}
--}}

{{ $client->av_points ?? 0 }}

Points

{{ $client->contribution_count ?? 0 }}

Contributions

{{ $client->vehicles->count() }}

Vehicles

Client Information
  • Full Name
    {{ $client->full_name }}
  • Nickname
    {{ $client->nickname ?? 'N/A' }}
  • Email
    {{ $client->email }}
  • Contact
    {{ $client->contact }}
  • Member Since
    {{ $client->created_at->format('M d, Y') }}
@if ($client->chargingPoints->count() > 0)
{{-- --}} @foreach ($client->chargingPoints as $chargingPoint) {{-- --}} @endforeach
Name LocationStatusCreated
{{ $chargingPoint->name }} {{ $chargingPoint->description }} {{ ucfirst($chargingPoint->status) }} {{ $chargingPoint->created_at->format('M d, Y') }}
@else

No charging points found for this client.

@endif
@if ($client->vehicles->count() > 0)
@foreach ($client->vehicles as $vehicle) @endforeach
Model Type Year Charging Speed Battery Capacity Added Date
{{ $vehicle->model }} {{ $vehicle->type }} {{ $vehicle->year }} {{ $vehicle->charging_speed }} {{ $vehicle->battery_capacity }} {{ $vehicle->created_at->format('M d, Y') }}
@else

No vehicles found for this client.

@endif
{{-- @if ($client->activities->count() > 0)
Recent Activities ({{ $client->activities->count() }})
@foreach ($client->activities->take(10) as $activity) @endforeach
Activity Charging Point Date Points
{{ $activity->activity_type }} {{ $activity->chargingPoint->name ?? 'N/A' }} {{ $activity->created_at->format('M d, Y H:i') }} @if ($activity->points_earned) +{{ $activity->points_earned }} @else - @endif
@endif --}}
@endsection @section('scripts') @endsection