mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Add link to departments
This commit is contained in:
parent
e3a5accace
commit
b0479923b1
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue