@extends('layouts.admin') @section('content') @php use App\Support\Ui; $key = $module->key(); @endphp
@foreach($kpis as $k)@include('admin.partials.kpi', ['k' => $k])@endforeach
{{ $module->tableTitle() }}
{{ $module->tableSub() }}
{!! Ui::icon('download') !!} @if($form && auth()->user()->hasPermission($key.'.manage'))@endif
@foreach($module->filters() as $name => [$label, $options]) @endforeach Reset
@foreach($module->columns() as $c)@endforeach @forelse($rows as $m) @php $d = $rowData[$m->getKey()]; @endphp @foreach($d['cells'] as $cell)@endforeach @empty @endforelse
{{ $c }}Actions
{!! $cell instanceof \Illuminate\Support\HtmlString ? $cell : e($cell) !!}
@if(auth()->user()->hasPermission($key.'.manage')) @foreach($d['actions'] as $a)
@csrf
@endforeach @endif
No records match yet.
@include('admin.partials.pager')
@endsection @section('modals') @if($form)@include('admin.partials.record-modal', ['form' => $form])@endif @endsection