@if ( $data['count'] == 0 )
No data for this device
@else
| Date Time |
Watt |
Amp |
@foreach ($data['data'] as $read)
| {{ $read['entry_dt'] }} |
{{ $read['watt_val'] ?? 'NA' }} |
{{ $read['amp_val'] ?? 'NA' }} |
@endforeach
{{ generateBSPagination('devices/ajax/show-reading/'.$data['data'][0]['device_id'], $data['page'], $data['total_pages'], 'swrpg') }}
@endif