My Profile

Face Image Verification
{{-- PREVIEW LIST --}}
{{-- EXISTING --}} @foreach ($existingPhotos as $i => $photo)
@if ($editMode) @endif
@endforeach {{-- NEW --}} @foreach ($photos as $j => $photo) @php $idx = count($existingPhotos) + $j; @endphp
@endforeach {{-- @foreach ($photos as $i => $photo)
@if ($editMode) @endif
@endforeach --}}
{{-- Hidden input for new photos (append mode) --}} {{-- ACTION BAR --}}
@if (!$editMode) @else @endif
@error('photos')
{{ $message }}
@enderror @error('photos.*')
{{ $message }}
@enderror @error('newPhotos.*')
{{ $message }}
@enderror @if (session()->has('success'))
{{ session('success') }}
@endif

Vehicle Info
@error('vehicle_type')
{{ $message }}
@enderror
@error('vehicleNo')
{{ $message }}
@enderror
{{-- Button Add/Update --}} @if ($editingIndex === null) @else
@endif {{-- List cards --}}
@foreach ($vehicles as $i => $v)
Vehicle Type
{{ data_get($v, 'vehicle_type') }}
Vehicle No
{{ data_get($v, 'vehicle_no') }}
Action
@endforeach

VER 1.0