@extends('layouts.app') @section('title', 'Hardware') @section('content')

Hardware

{{ $assets->total() }} Assets
+ Asset CSV-Export
Zurücksetzen
@php $savedViews = \App\Models\SavedView::where('user_id', auth()->id())->where('module', 'assets')->get(); @endphp
Gespeicherte Ansichten: @forelse($savedViews as $view) {{ $view->name }}
@csrf @method('DELETE')
@empty keine @endforelse
@csrf
@csrf
@php $sortLink = fn ($col, $label) => ''.$label.($sort === $col ? ($dir === 'asc' ? ' ▲' : ' ▼') : '').''; @endphp @forelse($assets as $asset) @include('assets._row', ['asset' => $asset, 'isChild' => false]) @foreach($asset->childAssets as $child) @include('assets._row', ['asset' => $child, 'isChild' => true]) @endforeach @empty @endforelse
{!! $sortLink('asset_code', 'Asset-ID') !!} {!! $sortLink('hostname', 'Hostname') !!} {!! $sortLink('model', 'Modell') !!} Kategorie {!! $sortLink('status', 'Status') !!} Person {!! $sortLink('location', 'Standort') !!} {!! $sortLink('commissioned_at', 'Inbetriebnahme') !!} Ersatz
Keine Assets gefunden.
{{ $assets->links() }}

Massenbearbeitung ( ausgewählt)

@endsection