Added view link to asset tag, since some assets won't have names
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
return array (
|
||||
'app_version' => 'v1.2.6.1-184',
|
||||
'hash_version' => 'v1.2.6.1-184-g766afde',
|
||||
'app_version' => 'v1.2.6.1-185',
|
||||
'hash_version' => 'v1.2.6.1-185-g33e7ce6',
|
||||
);
|
||||
@@ -979,8 +979,12 @@ class AssetsController extends AdminController
|
||||
{
|
||||
return '<a title="'.$assets->name.'" href="hardware/'.$assets->id.'/view">'.$assets->name.'</a>';
|
||||
})
|
||||
->addColumn('asset_tag',function($assets)
|
||||
{
|
||||
return '<a title="'.$assets->asset_tag.'" href="hardware/'.$assets->id.'/view">'.$assets->asset_tag.'</a>';
|
||||
})
|
||||
|
||||
->showColumns('asset_tag', 'serial')
|
||||
->showColumns('serial')
|
||||
|
||||
->addColumn('model',function($assets)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user