Fixed #2810 - checkin fix for licenses

This commit is contained in:
snipe 2017-12-08 13:19:10 -08:00
parent 3df62a200f
commit 557714e7b7

View file

@ -87,7 +87,7 @@
@endif
</td>
<td>
@can('checkout', $licensedto)
@can('checkout', $license)
@if (($licensedto->assigned_to) || ($licensedto->asset_id))
@if ($license->reassignable)
<a href="{{ route('licenses.checkin', $licensedto->id) }}" class="btn btn-sm bg-purple">