@php
$deleteAssetTypePermission = user()->permission('delete_assets_type');
$editAssetTypePermission = user()->permission('edit_assets_type');
@endphp
# |
@lang('app.name') |
@lang('app.action') |
@forelse($assetTypes as $key=>$type)
{{ $key + 1 }} |
{{ $type->name }}
|
@if ($deleteAssetTypePermission == 'all' || $deleteAssetTypePermission == 'added')
@lang('app.delete')
@endif
|
@empty
@lang('asset::app.noAssetType') |
@endforelse