Audit tweaks

This commit is contained in:
snipe 2017-08-25 10:18:18 -07:00
parent 16f57e16cb
commit bd02b9ed62
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@
</div><!-- /.responsive -->
</div><!-- /.col -->
<div class="col-md-12 text-center" style="padding-top: 10px;">
<a href="{{ route('reports/activity') }}" class="btn btn-primary btn-sm" style="width: 100%">View All</a>
<a href="{{ route('reports.activity') }}" class="btn btn-primary btn-sm" style="width: 100%">View All</a>
</div>
</div><!-- /.row -->
</div><!-- ./box-body -->

View file

@ -113,7 +113,7 @@
<td>{{ $asset->serial }}</td>
</tr>
@endif
@if ($audit_log->created_at)
@if ((isset($audit_log)) && ($audit_log->created_at))
<tr>
<td>{{ trans('general.last_audit') }}</td>
<td> {{ \App\Helpers\Helper::getFormattedDateObject($audit_log->created_at, 'date', false) }} (by {{ link_to_route('users.show', $audit_log->user->present()->fullname(), [$audit_log->user->id]) }})</td>