diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 04291c9ea5..3fd68b1da7 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -190,7 +190,7 @@ @if (($asset->assetstatus) && ($asset->assetstatus->deployable=='1')) @if (($asset->assigned_to != '') && ($asset->deleted_at=='')) - @can('checkin', \App\Models\Asset::class) + @can('checkin', $asset)