removed structure tax items from navbar

This commit is contained in:
2019-05-22 00:04:32 -05:00
parent c93e8e26e4
commit e4feb4d1e8

View File

@@ -39,19 +39,6 @@
</div>
</li>
@endif
@if(auth()->user()->hasPermission('structure.operator'))
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Structures</a>
<div class="dropdown-menu" aria-labelledby="navbarDropDownMenuLink">
<a class="dropdown-item" href="/structures/taxes/display">Current Taxes</a>
<a class="dropdown-item" href="/structures/register">Register Structure</a>
@if(auth()->user()->hasRole('Admin'))
<a class="dropdown-item" href="/structures/admin/taxes/display">Corp Taxes</a>
<a class="dropdown-item" href="/structures/admin/dashboard">Admin Panel</a>
@endif
</div>
</li>
@endif
@if(auth()->user()->hasRole('User') || auth()->user()->hasRole('Admin'))
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropDownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Contracts</a>