Fixes #2491 - show asset tag on dashboard

This commit is contained in:
snipe 2016-08-25 21:28:46 -07:00
parent a92ed97b4e
commit 0d088f3031

View file

@ -141,7 +141,7 @@
</td>
<td>
@if (($activity->assetlog) && ($activity->asset_type=="hardware"))
<a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->showAssetName() }}</a>
<a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->asset_tag }} - {{ $activity->assetlog->showAssetName() }}</a>
@elseif (($activity->licenselog) && ($activity->asset_type=="software"))
<a href="{{ route('view/license', $activity->asset_id) }}">{{ $activity->licenselog->name }}</a>
@elseif (($activity->consumablelog) && ($activity->asset_type=="consumable"))