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)
model ? ' data-tooltip="true" title="'.trans('admin/hardware/general.model_invalid_fix').'"' : '') !!}> - - {{ trans('admin/hardware/general.checkin') }} - + + + {{ trans('admin/hardware/general.checkin') }} +
@endcan @elseif (($asset->assigned_to == '') && ($asset->deleted_at=='')) - @can('checkout', \App\Models\Asset::class) + @can('checkout', Asset::class)
model ? ' data-tooltip="true" title="'.trans('admin/hardware/general.model_invalid_fix').'"' : '') !!}> - - {{ trans('admin/hardware/general.checkout') }} + + + {{ trans('admin/hardware/general.checkout') }}
@@ -200,7 +202,8 @@ @if ($asset->deleted_at=='') @can('update', $asset)
- + + {{ trans('admin/hardware/general.edit') }}
@@ -209,7 +212,8 @@ @can('audit', \App\Models\Asset::class)
model ? ' data-tooltip="true" title="'.trans('admin/hardware/general.model_invalid_fix').'"' : '') !!}> - + + {{ trans('general.audit') }} @@ -219,7 +223,8 @@ @can('create', $asset)
- + + {{ trans('admin/hardware/general.clone') }}
@@ -228,7 +233,10 @@ @can('delete', $asset)
@if ($asset->deleted_at=='') - {{ trans('general.delete') }} @else