Implementacion de modulo de pedidos
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
</div>
|
||||
|
||||
<!-- Navigation Links -->
|
||||
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
|
||||
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex items-center">
|
||||
@role('usuario|admin')
|
||||
<x-nav-link href="{{ route('dashboard') }}" :active="request()->routeIs('dashboard')">
|
||||
{{ __('Dashboard') }}
|
||||
</x-nav-link>
|
||||
@@ -25,10 +26,25 @@
|
||||
<x-nav-link href="{{ route('cancelacion') }}" :active="request()->routeIs('cancelacion')">
|
||||
{{ __('Cancelacion') }}
|
||||
</x-nav-link>
|
||||
@role('admin')
|
||||
<x-nav-link href="{{ route('reporte') }}" :active="request()->routeIs('reporte')">
|
||||
{{ __('Reporte') }}
|
||||
@endrole
|
||||
<x-nav-link href="{{ route('pedido') }}" :active="request()->routeIs('pedido')">
|
||||
{{ __('Pedido') }}
|
||||
</x-nav-link>
|
||||
@role('admin')
|
||||
<x-nav-link href="{{ route('rutas') }}" :active="request()->routeIs('rutas')">
|
||||
{{ __('Rutas') }}
|
||||
</x-nav-link>
|
||||
@endrole
|
||||
@role('admin|compras')
|
||||
<div class="dropdown dropdown-hover">
|
||||
<label class="items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out" tabindex="0">Reportes</label>
|
||||
<div class="dropdown-menu dropdown-menu-bottom-right">
|
||||
@role('admin')<a href="{{ route('reporte-ventas') }}" class="dropdown-item text-sm {{request()->routeIs('reporte-ventas')?"dropdown-active":""}}">Ventas</a>@endrole
|
||||
<a href="{{ route('reporte-pedidos') }}" tabindex="-1" class="dropdown-item text-sm {{request()->routeIs('reporte-pedidos')?"dropdown-active":""}}">Pedidos</a>
|
||||
</div>
|
||||
</div>
|
||||
@endrole
|
||||
@role('admin')
|
||||
<x-nav-link href="{{ route('usuarios') }}" :active="request()->routeIs('usuarios')">
|
||||
{{ __('Usuarios') }}
|
||||
</x-nav-link>
|
||||
@@ -68,6 +84,10 @@
|
||||
{{ __('Profile') }}
|
||||
</x-dropdown-link>
|
||||
|
||||
<x-dropdown-link href="{{ route('impresora') }}">
|
||||
{{ __('Impresora') }}
|
||||
</x-dropdown-link>
|
||||
|
||||
@if (Laravel\Jetstream\Jetstream::hasApiFeatures())
|
||||
<x-dropdown-link href="{{ route('api-tokens.index') }}">
|
||||
{{ __('API Tokens') }}
|
||||
|
||||
Reference in New Issue
Block a user