Files
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<nav class="navbar navbar-default">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href=".">Inicio</a></li>
|
||||
@if (\App\Contract\Auth::isIn())
|
||||
@if (\App\Contract\Auth::checkAccess('ventas'))
|
||||
@if ($auth->isIn())
|
||||
@if ($auth->checkAccess('ventas'))
|
||||
<li role="presentation" class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Ventas <span class="caret"></span>
|
||||
@ -11,7 +11,7 @@
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (\App\Contract\Auth::checkAccess('proyectos'))
|
||||
@if ($auth->checkAccess('proyectos'))
|
||||
<li role="presentation" class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Proyectos <span class="caret"></span>
|
||||
@ -20,11 +20,11 @@
|
||||
|
||||
@endif
|
||||
|
||||
@if (\App\Contract\Auth::checkAccess('inmobiliarias'))
|
||||
@if ($auth->checkAccess('inmobiliarias'))
|
||||
<li><a href="{{url('', ['p' => 'inmobiliarias', 'a' => 'list'])}}">Inmobiliarias</a></li>
|
||||
@endif
|
||||
|
||||
@if (\App\Contract\Auth::checkAccess('viewInformesContabilidad'))
|
||||
@if ($auth->checkAccess('viewInformesContabilidad'))
|
||||
<li role="presentation" class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Contabilidad <span class="caret"></span>
|
||||
@ -33,7 +33,7 @@
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (\App\Contract\Auth::checkAccess('viewHerramientas'))
|
||||
@if ($auth->checkAccess('viewHerramientas'))
|
||||
<li role="presentation" class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Herramientas <span class="caret"></span>
|
||||
@ -45,15 +45,15 @@
|
||||
<li><a href="{{url('', ['p' => 'auth', 'a' => 'login'])}}">Ingresar</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
@if (\App\Contract\Auth::isIn())
|
||||
@if ($auth->isIn())
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li role="presentation" class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
{{\App\Contract\Auth::User()->name}} <span class="caret"></span>
|
||||
{{$auth->User()->name}} <span class="caret"></span>
|
||||
</a>
|
||||
@include('layout.menu.login')
|
||||
</li>
|
||||
@if (\App\Contract\Auth::checkAccess('buscar'))
|
||||
@if ($auth->checkAccess('buscar'))
|
||||
<li style="font-size: large; border-left: 1px solid #e7e7e7;"><a href="{{url('', ['p' => 'buscar'])}}"><span class="glyphicon glyphicon-search"></span></a></li>
|
||||
<li style="margin-right: 15px;"> </li>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user