CrestRoad/laravel/resources/views/widgets/team_trend_monthly.blade.php

31 lines
1.1 KiB
PHP

<div class="card">
<div class="card-body">
<h4 class="header-title mb-2">{{$title}}</h4>
<div id="cardCollpase4" class="collapse pt-3 show">
<div class="table-responsive">
<table class="table table-centered table-nowrap table-borderless mb-0">
<thead class="table-light">
<tr>
<th>Users</th>
@foreach($dates as $date)
<th>{{$date}}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach($tabledata as $data)
<tr>
<td>{{$data['name']}}</td>
@foreach($data['values'] as $value)
<td>{{$value}}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>
</div> <!-- .table-responsive -->
</div> <!-- end collapse-->
</div>
</div>