Fixing error when no depreciation

This commit is contained in:
snipe
2013-12-06 02:50:14 -05:00
parent 23ce0a9e67
commit b697c77cd8
+1 -1
View File
@@ -167,7 +167,7 @@ View License {{ $license->name }} ::
@if ($license->seats)
<li>Seats: {{ $license->seats }} </li>
@endif
@if ($license->seats)
@if ($license->depreciation)
<li>Depreciation: {{ $license->depreciation->name }} ({{ $license->depreciation->months }} months)</li>
@endif
</ul>