@extends('layouts.app') @section('title', 'Time Domain Graph Data') @section('content')

Time Domain Graph Data

Filter records by device and date range, then export the results.

{{ number_format($records->total()) }} Records
{{-- Validation errors --}} @if ($errors->any())
Please correct the following errors:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Filter form --}}
{{-- Active filters and export --}}
@if (request()->filled('device_id')) Device: {{ request('device_id') }} @endif @if (request()->filled('from')) From: {{ \Carbon\Carbon::parse(request('from'))->format('d M Y, h:i A') }} @endif @if (request()->filled('to')) To: {{ \Carbon\Carbon::parse(request('to'))->format('d M Y, h:i A') }} @endif @if ( !request()->filled('device_id') && !request()->filled('from') && !request()->filled('to') ) No filters applied. @endif
Export Filtered CSV
{{-- Data table --}}
@forelse ($records as $record) @empty @endforelse
ID Device ID V1 V2 V3 I1 I2 I3 Channel Group Created At
{{ $record->id }} {{ $record->device_id }} {{ $record->v1 }} {{ $record->v2 }} {{ $record->v3 }} {{ $record->i1 }} {{ $record->i2 }} {{ $record->i3 }} {{ $record->channel_group }} {{ \Carbon\Carbon::parse($record->created_at)->format('d M Y, h:i:s A') }}
No records found for the selected filters.
{{-- Pagination --}} @if ($records->hasPages())
Showing {{ number_format($records->firstItem()) }} to {{ number_format($records->lastItem()) }} of {{ number_format($records->total()) }} records
{{ $records->links() }}
@endif
@endsection @push('scripts') @endpush