Changed to only one date for checkout date

This commit is contained in:
madd15
2014-10-24 13:07:57 +10:30
parent 7f44d6dd47
commit a6cd7c0bab

View File

@@ -119,11 +119,7 @@ $debugbar["messages"]->addMessage("hello world!");
@if (Input::get('Deployed') && Setting::getSettings()->display_checkout_date)
<td>
@if (count($asset->assetlog) > 0)
@foreach ($asset->assetlog as $log)
@if ($log->action_type == "checkout")
{{{ $log->added_on }}}
@endif
@endforeach
{{{ $asset->assetlog->first()->added_on }}}
@endif
</td>
@endif