Skip to content

Commit

Permalink
Fixed bug in expected checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Aug 17, 2015
1 parent 21bb2f8 commit 94e8b5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config/version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
return array (
'app_version' => 'v2.0-pre',
'hash_version' => 'v2.0-pre-beta2-2-g7dd50ed',
'hash_version' => 'v2.0-pre-beta2-4-gaae7d45',
);
2 changes: 1 addition & 1 deletion app/views/backend/hardware/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@
@endif
<ul>

@if (($asset->assetstatus->deployable=='1') && ($asset->assigned_to > 0) && ($asset->deleted_at==''))
@if (($asset->assetstatus->deployable=='1') && ($asset->assigned_to > 0) && ($asset->deleted_at=='') && ($asset->assetlog->first()))
@if ($asset->assetlog->first()->expected_checkin)
<li><br />@lang('admin/hardware/form.expected_checkin')
: {{{ date('Y-m-d', strtotime($asset->assetlog->first()->expected_checkin)) }}}</li>
Expand Down

0 comments on commit 94e8b5f

Please sign in to comment.