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