Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2016-08-01 10:18:01 -07:00
commit 715c9aa780
2 changed files with 9 additions and 2 deletions

View file

@ -376,7 +376,10 @@ class Asset extends Depreciable
{
if ($this->name == '') {
if ($this->model) {
return $this->model->name.' ('.$this->asset_tag.')';
}
return $this->asset_tag;
} else {
return $this->name;
}

View file

@ -120,7 +120,11 @@
<td>{{ date("M d, Y g:iA", strtotime($activity->created_at)) }}</td>
<td>
@if ($activity->action_type!='requested')
@if ($activity->adminlog)
<a href="{{ route('view/user', $activity->user_id) }}">{{ $activity->adminlog->fullName() }}</a>
@else
Deleted Admin
@endif
@endif
</td>