modified people to be able to see rental moon stuff with a permission
This commit is contained in:
@@ -205,7 +205,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
@if(auth()->user()->isMoonRenter())
|
@if(auth()->user()->isMoonRenter() || auth()->user()->hasPermission('rentalmoon.viewer'))
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/moons/ledger/display/rentals" class="nav-link">
|
<a href="/moons/ledger/display/rentals" class="nav-link">
|
||||||
<i class="far fa-circle nav-icon"></i>
|
<i class="far fa-circle nav-icon"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user