Added gated sidenav items to left nav

This commit is contained in:
snipe 2019-05-05 19:21:26 -04:00
parent 8154d1116c
commit 69614a7db4

View file

@ -440,6 +440,19 @@
</a>
</li>
@can('audit', \App\Models\Asset::class)
<li>
<a href="{{ route('assets.audit.due') }}">
<i class="fa fa-clock-o text-yellow"></i> Due for Audit
</a>
</li>
<li>
<a href="{{ route('assets.audit.overdue') }}">
<i class="fa fa-warning text-red"></i> Overdue for Audit
</a>
</li>
@endcan
<li class="divider">&nbsp;</li>
@can('checkout', \App\Models\Asset::class)
<li{!! (Request::is('hardware/bulkcheckout') ? ' class="active>"' : '') !!}>