@extends('layouts.vertical', ['page_title' => 'Datatables'])
@section('css')
@endsection
@section('content')
@include('report.navigation')
@if (session()->has('message'))
{{ session()->get('message') }}
@endif
@if (session()->has('error'))
{{ session()->get('error') }}
@endif
| Device Name |
Device Count |
@php
$total = 0;
@endphp
@foreach($metrics as $metric)
| {{$metric->device_name}} |
{{$metric->device_count}} |
@php
$total += $metric->device_count;
@endphp
@endforeach
| Total
| {{$total}}
|
@endsection
@section('script')
@endsection