@extends('Frontend.Reports.partials.layout') @section('content') @foreach ($report->getItems() as $item)
@include('Frontend.Reports.partials.item_heading') @if (isset($item['error'])) @include('Frontend.Reports.partials.item_empty') @else
@foreach($item['sensors'] as $sensor) @include('Frontend.Reports.partials.item_sensor_data') @endforeach
@endif
@endforeach @stop @section('scripts') @stop