{{ __('Category') }}
{{ $item->asset_category?->parentCategory?->name ?? $item->asset_category?->name ?? '—' }}
{{ __('Sub-type') }}
{{ $item->asset_category?->parentCategory ? $item->asset_category?->name : '—' }}
{{ __('Serial / code') }}
{{ $item->identity ?: $item->code ?: '—' }}
{{ __('Branch') }}
{{ $item->branch?->name ?? '—' }}
{{ __('Location') }}
{{ $item->location ? $item->location->building_name.' / '.$item->location->floor.' / '.$item->location->room_number_or_name : '—' }}
{{ __('Current holder') }}
@if($holder)
{{ $holder->user?->name ?? '—' }}
@if($holder->user?->id)
ID: {{ $holder->user->id }}
@endif
@if($item->activeAssignment && ! $item->staff_id)
{{ __('From active assignment') }}
@endif
@else
—
@endif
{{ __('Qty / tracking') }}
{{ $item->formattedQty() }} · {{ $item->tracking_mode ?? 'individual' }}
{{ __('Price') }}
{{ number_format((float)$item->price, 2) }}
{{ __('Book value') }}
{{ number_format($item->currentBookValue(), 2) }}
{{ __('Accumulated depreciation') }}
{{ number_format((float)($item->accumulated_depreciation ?? 0), 2) }}
@if($item->depreciation_method)
{{ __('Depreciation method') }}
{{ \App\Support\Asset\DepreciationMethod::label($item->depreciation_method) }}
@endif
@if($item->latestSale)
@endif
@if($item->asset_type === \App\Support\Asset\AssetType::DIGITAL)
{{ __('License') }}: {{ $item->license_holder_email ?? '—' }} · {{ __('Expires') }} {{ $item->license_expires_at?->format('d/m/Y') ?? '—' }}
@endif
@if($item->asset_type === \App\Support\Asset\AssetType::FLEET)
{{ __('Registration') }}: {{ $item->registration_number ?? '—' }} · {{ __('Insurance') }} {{ $item->insurance_expires_at?->format('d/m/Y') ?? '—' }}
@endif
@if($item->description)
{{ __('Description') }}
{{ $item->description }}
@endif