@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('Asset offboard checklist')) @section('content')
{{ __('Back') }}

{{ __('Asset offboard checklist') }}

{{ $row->staff?->user?->name }} · {{ __('Separation') }} #{{ $row->id }}

@if($pending > 0) {{ $pending }} {{ __('pending') }} @else {{ __('All complete') }} @endif
{{ __('Digital licenses flagged for revoke on offboard appear here automatically. IT/HR must complete each item before employee exit is fully cleared.') }}
@forelse($checks as $check) @empty @endforelse
{{ __('Asset') }} {{ __('Type') }} {{ __('Action required') }} {{ __('Status') }} {{ __('Action') }}
{{ $check->asset?->name ?? '—' }}
{{ $check->asset?->identity ?: $check->asset?->code }}
{{ \App\Support\Asset\AssetType::label($check->asset_type) }} @if($check->action === \App\Models\StaffAssetOffboardCheck::ACTION_REVOKE_DIGITAL) {{ __('Revoke digital license') }} @if($check->asset?->license_holder_email)
{{ $check->asset->license_holder_email }}
@endif @else {{ __('Return physical asset') }} @endif
{{ ucfirst($check->status) }} @if($check->status === 'pending')
@csrf
@csrf
@else {{ $check->completed_at?->format('d/m/Y') }} @endif
{{ __('No asset offboard items for this separation.') }}
@endsection