diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 4961cfce25..880d0bad22 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -178,18 +178,20 @@ @can('checkin', \App\Models\Asset::class)
@endcan @elseif (($asset->assigned_to == '') && ($asset->deleted_at=='')) - @can('checkout', \App\Models\Asset::class) + @can('checkout', Asset::class) @@ -200,7 +202,8 @@ @if ($asset->deleted_at=='') @can('update', $asset) @@ -209,7 +212,8 @@ @can('audit', \App\Models\Asset::class)