Skip to content

A free open source IT asset/license management system

660 B
Raw Blame
@props([
    'route',
    'name' => 'default',
    'table_header' => trans('general.history'),
    'model' => null,
    'hide_fields' => [],
    'extra_columns' => [],
])

<!-- start history tab pane -->
@can('history', $model)
    <x-slot:table_header>
        {{ $table_header }}
    </x-slot:table_header>

    <x-table
        :presenter="\App\Presenters\HistoryPresenter::dataTableLayout($hide_fields, $extra_columns)"
        show_advanced_search="false"
        api_url="{{ $route }}"
        fixed_number="false"
        fixed_right_number="false"
        export_filename="export-history-{{ date('Y-m-d') }}"
    />
@endcan
<!-- end assets tab pane -->