@extends('layouts.app') @section('title', $asset->hostname ?: $asset->asset_code) @section('content') @php $due = $asset->effectiveReplacementDate(); @endphp

{{ $asset->hostname ?: ($asset->model ?: $asset->asset_code) }}

{{ $asset->asset_code }} · {{ $asset->category?->name ?? 'ohne Kategorie' }} · {{ $asset->inventory?->name }} {{ $asset->statusLabel() }}
@can('editContent', $asset->inventory) Bearbeiten @endcan Zur Liste
@if($issues->isNotEmpty())
Datenqualität:
@endif

Stammdaten

Asset-Tag
{{ $asset->asset_tag ?? '–' }}
Hersteller / Modell
{{ $asset->manufacturer }} {{ $asset->model }}
Unterkategorie
{{ $asset->subcategory ?? '–' }}
Seriennummer
{{ $asset->serial_number ?? '–' }}
Beschreibung
{{ $asset->description ?? '–' }}
Standort
{{ $asset->location ?? '–' }} @if($asset->country)({{ $asset->country }})@endif
Raum / Lagerort
{{ $asset->room ?? '–' }} / {{ $asset->storage_location ?? '–' }}
Lieferant
{{ $asset->supplier ?? '–' }}
Kostenstelle
{{ $asset->cost_center ?? '–' }}
barox-Domäne
{{ $asset->domain_joined === null ? '–' : ($asset->domain_joined ? 'Ja' : 'Nein') }}
@if($asset->parentAsset)
Übergeordnetes Asset
{{ $asset->parentAsset->hostname ?: $asset->parentAsset->asset_code }}
@endif @if($asset->legacy_equipment)
Equipment (Import)
{!! nl2br(e($asset->legacy_equipment)) !!}
@endif

Technische Ausstattung

Betriebssystem
{{ $asset->os ?? '–' }}
CPU
{{ $asset->cpu ?? '–' }}
RAM
{{ $asset->ram ?? '–' }}
Speicher
{{ $asset->storage ?? '–' }}
MAC-Adresse
{{ $asset->mac_address ?? '–' }}
IP-Adresse
{{ $asset->ip_address ?? '–' }}
Firmware/Software
{{ $asset->firmware_version ?? '–' }}

Lebenszyklus, Garantie & Kosten

Kaufdatum
{{ $asset->purchase_date?->format('d.m.Y') ?? '–' }}
Inbetriebnahme
{{ $asset->commissioned_at?->format('d.m.Y') ?? '–' }}
Garantieende
{{ $asset->warranty_until?->format('d.m.Y') ?? '–' }} @if($asset->warranty_until?->isPast())abgelaufen@endif
Lebensdauer
{{ $asset->effectiveLifetimeYears() }} Jahre ({{ $asset->lifetime_years ? 'individuell' : ($asset->category ? 'Kategorie-Standard' : 'Inventar-Standard') }})
Geplanter Ersatz
@if($due) {{ $due->format('d.m.Y') }} @if($asset->planned_replacement_at)(manuell)@else (berechnet)@endif @if($due->isPast())überfällig @elseif($due->lessThan(now()->addMonths(12)))< 12 Monate@endif @else – @endif
Ausmusterung
{{ $asset->decommissioned_at?->format('d.m.Y') ?? '–' }}
Anschaffungspreis
{{ $asset->purchase_price ? number_format((float) $asset->purchase_price, 2, ',', '’').' '.$asset->currency : '–' }}
Geschätzter Ersatzpreis
{{ $asset->replacement_price ? number_format((float) $asset->replacement_price, 2, ',', '’').' '.$asset->currency : '–' }}

Zuweisung

@if($asset->assignedPerson)

Aktuell zugewiesen an {{ $asset->assignedPerson->display_name }} @if($asset->status === \App\Models\Asset::STATUS_ON_LOAN)Ausleihe@endif

@else

Nicht zugewiesen.

@endif @can('editContent', $asset->inventory)
@if($asset->assignedPerson) @endif
@csrf
@csrf
@csrf
@endcan

Zuweisungshistorie

@if($asset->assignments->isEmpty())

Keine Historie.

@else
@foreach($asset->assignments as $assignment) @endforeach
PersonArtVonBisStandortDurch
{{ $assignment->person?->display_name ?? '–' }} {{ \App\Models\AssetAssignment::TYPES[$assignment->type] ?? $assignment->type }} {{ $assignment->assigned_at?->format('d.m.Y') }} {{ $assignment->returned_at?->format('d.m.Y') ?? 'offen' }} {{ $assignment->location }} {{ $assignment->performedBy?->name }}
@endif

Lizenzen & Zubehör

Zugewiesene Lizenzen

@if($asset->licenseAssignments->isEmpty())

Keine Lizenzen mit diesem Gerät verknüpft.

@else @endif @if($asset->childAssets->isNotEmpty())

Zubehör / untergeordnete Assets

@endif @if($asset->notes)

Notizen

{!! nl2br(e($asset->notes)) !!}

@endif

Anhänge {{ $asset->attachments->count() }}

@if($asset->attachments->isEmpty())

Keine Anhänge.

@else
@foreach($asset->attachments as $attachment) @endforeach
DateiTypGrößeHochgeladen
{{ $attachment->original_name }} {{ $attachment->typeLabel() }} {{ number_format($attachment->size / 1024, 0) }} KB {{ $attachment->created_at->format('d.m.Y') }} {{ $attachment->uploader?->name }} @can('editContent', $asset->inventory)
@csrf @method('DELETE')
@endcan
@endif @can('editContent', $asset->inventory)

Anhang hochladen

@csrf
@endcan

Änderungsverlauf

@if($auditEntries->isEmpty())

Keine Einträge.

@else @endif

Erstellt von {{ $asset->creator?->name ?? '–' }} am {{ $asset->created_at?->format('d.m.Y H:i') }} · Zuletzt geändert von {{ $asset->updater?->name ?? '–' }} am {{ $asset->updated_at?->format('d.m.Y H:i') }}

@endsection