v2 first commit
This commit is contained in:
19
resources/views/partials/reports/table.blade.php
Normal file
19
resources/views/partials/reports/table.blade.php
Normal file
@ -0,0 +1,19 @@
|
||||
<div class="table-responsive mt-4 overflow-auto">
|
||||
<table class="table align-items-center table-hover" id="tbl-report">
|
||||
@include($class->views['table.header'])
|
||||
<tbody>
|
||||
@if (!empty($class->rows[$table]))
|
||||
@foreach($class->rows[$table] as $id => $items)
|
||||
@include($class->views['table.rows'])
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="{{ count($class->dates) + 2 }}">
|
||||
<h5 class="text-center pl-0">{{ trans('general.no_records') }}</h5>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
@include($class->views['table.footer'])
|
||||
</table>
|
||||
</div>
|
Reference in New Issue
Block a user