2022-06-01 10:15:55 +03:00
|
|
|
<x-dropdown id="dropdown-more-actions">
|
|
|
|
<x-slot name="trigger">
|
|
|
|
<span class="material-icons">more_horiz</span>
|
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
@if ($checkPermissionCreate)
|
|
|
|
@can($permissionCreate)
|
|
|
|
@if (! $hideImport)
|
2022-09-06 13:54:56 +03:00
|
|
|
<x-dropdown.link href="{{ route($importRoute, $importRouteParameters) }}" id="index-more-actions-import-{{ $type }}">
|
2022-06-01 10:15:55 +03:00
|
|
|
{{ trans('import.import') }}
|
|
|
|
</x-dropdown.link>
|
|
|
|
@endif
|
|
|
|
@endcan
|
|
|
|
@else
|
|
|
|
@if (! $hideImport)
|
2022-09-06 13:54:56 +03:00
|
|
|
<x-dropdown.link href="{{ route($importRoute, $importRouteParameters) }}" id="index-more-actions-import-{{ $type }}">
|
2022-06-01 10:15:55 +03:00
|
|
|
{{ trans('import.import') }}
|
|
|
|
</x-dropdown.link>
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (! $hideExport)
|
2022-09-06 13:54:56 +03:00
|
|
|
<x-dropdown.link href="{{ route($exportRoute, request()->input()) }}" id="index-more-actions-export-{{ $type }}">
|
2022-06-01 10:15:55 +03:00
|
|
|
{{ trans('general.export') }}
|
|
|
|
</x-dropdown.link>
|
|
|
|
@endif
|
|
|
|
</x-dropdown>
|