Add link to departments

This commit is contained in:
snipe 2017-05-22 21:31:58 -07:00
parent e3a5accace
commit b0479923b1

View file

@ -530,6 +530,10 @@
<li><a href="{{ route('depreciations.index') }}" {{ (Request::is('/depreciations') ? ' class="active"' : '') }} >@lang('general.depreciation')</a></li> <li><a href="{{ route('depreciations.index') }}" {{ (Request::is('/depreciations') ? ' class="active"' : '') }} >@lang('general.depreciation')</a></li>
@endcan @endcan
@can('view', \App\Models\Department::class)
<li><a href="{{ route('departments.index') }}" {{ (Request::is('/departments') ? ' class="active"' : '') }} >@lang('general.departments')</a></li>
@endcan
@can('view', \App\Models\Location::class) @can('view', \App\Models\Location::class)
<li><a href="{{ route('locations.index') }}" {{ (Request::is('/locations') ? ' class="active"' : '') }} >@lang('general.locations')</a></li> <li><a href="{{ route('locations.index') }}" {{ (Request::is('/locations') ? ' class="active"' : '') }} >@lang('general.locations')</a></li>
@endcan @endcan