2022-06-01 10:15:55 +03:00
|
|
|
<x-layouts.admin>
|
|
|
|
<x-slot name="title">
|
|
|
|
{{ $class->model->name }}
|
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
<x-slot name="favorite"
|
|
|
|
title="{{ $class->model->name }}"
|
|
|
|
icon="{{ $class->icon }}"
|
|
|
|
:route="['reports.show', $class->model->id]"
|
|
|
|
></x-slot>
|
|
|
|
|
|
|
|
<x-slot name="buttons">
|
|
|
|
<x-link href="{{ url($class->getUrl('print')) }}" target="_blank">
|
|
|
|
{{ trans('general.print') }}
|
|
|
|
</x-link>
|
|
|
|
|
|
|
|
<x-link href="{{ url($class->getUrl('export')) }}">
|
|
|
|
{{ trans('general.export') }}
|
|
|
|
</x-link>
|
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
<x-slot name="content">
|
|
|
|
<div class="my-10">
|
|
|
|
@include($class->views['filter'])
|
|
|
|
|
|
|
|
@include($class->views[$class->type])
|
2022-06-06 11:53:35 +03:00
|
|
|
|
|
|
|
<x-loading.content />
|
2022-06-01 10:15:55 +03:00
|
|
|
</div>
|
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
<x-script folder="common" file="reports" />
|
|
|
|
</x-layouts.admin>
|