Fixes asset created_at

This commit is contained in:
snipe 2016-07-29 12:15:09 -07:00
parent 85232c47da
commit fd94c76874

View file

@ -249,11 +249,11 @@
<td>{{ trans('admin/hardware/form.notes') }}</td>
<td> {!! nl2br(e($asset->notes)) !!}</td>
</tr>
@if ($asset->created_at)
@if ($asset->created_at!=''')
<tr>
<td>{{ trans('general.created_at') }}</td>
<td>
{{ $user->created_at->format('F j, Y h:iA') }}
{{ $asset->created_at->format('F j, Y h:iA') }}
</td>
</tr>
@endif