{{--
--}}
@if ($showFilters) @include('assets.filters') @endif
@if($showActions) @lang('app.delete') @endif
@if(user_can('Update Assets') || isRole() == 'Owner' || user_can('Delete Assets')) @endif @forelse ($assets as $asset) @if(user_can('Update Assets') || isRole() == 'Owner' || user_can('Delete Assets')) @endif @empty @endforelse
@lang('modules.assets.name') @lang('modules.assets.tower') @lang('modules.assets.floor') @lang('modules.assets.apartmentNumber') @lang('modules.assets.condition') @lang('app.action')
id) }} class="text-base font-semibold hover:underline dark:text-black-400"> {{ $asset->name }}
{{ $asset->category->name }}
{{ $asset->towers->tower_name ?? '--' }} {{ $asset->floors->floor_name ?? '--' }} {{ $asset->apartments->apartment_number ?? '--' }} {{ $asset->condition }} @if(user_can('Update Assets') || isRole() == 'Owner') @lang('app.update') @endif @if(user_can('Delete Assets')|| isRole() == 'Owner') @endif
{{ $assets->links() }}
{{ __("modules.assets.editAsset") }} @if ($assetEdit) @livewire('forms.editAsset', ['asset' => $assetEdit], key(str()->random(50))) @endif {{ __('Close') }} {{ __("modules.assets.viewAsset") }} @if ($asset) @livewire('forms.showAsset', ['asset' => $asset], key(str()->random(50))) @endif {{ __('Close') }} @lang('modules.notice.deleteNotice')? @lang('messages.deleteMessage') {{ __('Cancel') }} @if ($asset) {{ __('Delete') }} @endif @lang('modules.notice.deleteNotice')? @lang('messages.deleteMessage') {{ __('Cancel') }} {{ __('Delete') }}