@extends("admin.layouts.app") @section("content") @if(session('success'))
{{ session('success') }}
@endif

Total Steps

{{-- Possibly show total or current steps here --}}
@foreach($sources as $source) @endforeach
Source Model Name Manufacturer Name Device Name Unique Device ID Steps
{{ $source->source }} {{ $source->model_name }} {{ $source->manufacturer_name }} {{ $source->device_name }} {{ $source->unique_device_id }} {{-- Current steps value --}} {{ $source->steps }} {{-- If it's a Watch entry, allow editing/updating steps --}} @if($source->model_name === 'Watch') {{-- If there's already a reason, show a warning --}} @if($source->reason)
Warning: This Watch entry was already edited.
Reason: "{{ $source->reason }}"
@endif
@csrf @if($health_data) @endif {{-- A Bootstrap input group to keep steps_diff & reason on the same line --}}
@endif
@endsection