@extends('layouts.admin') @section('title', 'Edit Charging Point - EV Charging Network') @section('breadcrumb_title', 'Charging Points') @section('breadcrumb_sub_title', 'Edit') @section('page_title', 'Edit Charging Point') @section('breadcrumb_link', route('charging-points.index')) @section('content')
Edit Charging Point Details

Update the charging point "{{ $chargingPoint->name }}" at location ({{ $chargingPoint->lattitude }}, {{ $chargingPoint->longitude }}).

@csrf
Basic Information
Location Information
Location Image
Upload a new image to replace the current one. Max size: 2MB. Supported formats: JPEG, PNG, JPG, GIF
@if ($chargingPoint->location_image)
Current image: {{ basename($chargingPoint->location_image) }}
@else
No current image uploaded
@endif
@if ($chargingPoint->location_image_url)
Current location image
@else
No image uploaded
@endif
Technical Details
Operating Hours
timeLines && $chargingPoint->timeLines->where('from', '00:00:00')->where('to', '23:59:00')->count() > 0 ? '24_7' : '') == '24_7' ? 'checked' : '' }}>
timeLines && $chargingPoint->timeLines->where('from', '00:00:00')->where('to', '23:59:00')->count() == 0 ? 'custom' : '') == 'custom' ? 'checked' : '' }}>
Plug Types
@foreach ($plugTypes as $plugType)
@php $currentQuantity = $chargingPoint->plugTypes ->where('id', $plugType->id) ->first() ? $chargingPoint->plugTypes ->where('id', $plugType->id) ->first()->pivot->quantity : 0; @endphp
@endforeach
Amenities
@foreach ($amenities as $amenity)
id, old('amenities', $chargingPoint->amenities->pluck('id')->toArray())) ? 'checked' : '' }}>
@endforeach
Additional Images
@if ($chargingPoint->images && $chargingPoint->images->count() > 0)
@foreach ($chargingPoint->images as $image)
Charging point image
@endforeach
@else
No additional images uploaded yet.
@endif
Select up to 3 images to upload. Max size: 2MB each. Supported formats: JPEG, PNG, JPG, GIF
Pricing and Access
Status
Additional Information
Back to List
@endsection