modified people to be able to see rental moon stuff with a permission

This commit is contained in:
2020-08-01 06:02:21 -05:00
parent 4f8c08011a
commit c38ffd3643

View File

@@ -205,7 +205,7 @@
</a>
</li>
@endif
@if(auth()->user()->isMoonRenter())
@if(auth()->user()->isMoonRenter() || auth()->user()->hasPermission('rentalmoon.viewer'))
<li class="nav-item">
<a href="/moons/ledger/display/rentals" class="nav-link">
<i class="far fa-circle nav-icon"></i>