@props([ 'asset' => null, 'categories' => [], 'statuses' => [], 'methods' => [], 'departments' => [], 'custodians' => [], 'suppliers' => [], ]) @php $editing = $asset !== null; // Keep a disposed/lost asset's current status selectable even though the // list of assignable statuses excludes them. $statusOptions = $statuses; if ($editing && ! array_key_exists($asset->status, $statusOptions)) { $statusOptions[$asset->status] = $asset->status_label; } $custodianOptions = collect($custodians)->mapWithKeys(fn ($user) => [ $user->id => $user->designation ? $user->name.' · '.$user->designation : $user->name, ])->all(); @endphp
What the asset is and how to recognise it on the floor.
Where the asset lives and who is accountable for it.
Drives the monthly depreciation schedule.
Lifecycle state and disposal proceeds, if any.