diff --git a/resources/views/components/ver-entrada.blade.php b/resources/views/components/ver-entrada.blade.php index fad9cf7..624371f 100755 --- a/resources/views/components/ver-entrada.blade.php +++ b/resources/views/components/ver-entrada.blade.php @@ -1,12 +1,12 @@
-

Ver

+

Ver

-

entradas

+

entradas

- + diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 60ead95..3f588bf 100755 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -6,45 +6,40 @@ - + {{ config('app.name', 'Laravel') }} - + @vite(['resources/css/app.css', 'resources/js/app.js']) - @livewireStyles - -
+
@include('layouts.navigationup') -
-
- @include('layouts.navigation') -
- - - + +
+ @include('layouts.navigation') + -
+
{{ $slot }} -
- - -
- +
+
+ + @livewireScripts - + diff --git a/resources/views/layouts/nav.blade.php b/resources/views/layouts/nav.blade.php index 7bc5f19..88e9a1b 100755 --- a/resources/views/layouts/nav.blade.php +++ b/resources/views/layouts/nav.blade.php @@ -11,7 +11,7 @@
- +
{{App\Models\Configuracione::Orderby('id','desc')->first()->nombre}}
@@ -28,21 +28,21 @@ @else
Iniciar sesión - - + + - +
- + @endauth @endif - + - \ No newline at end of file + diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php index 6b6183f..d53d060 100755 --- a/resources/views/layouts/navigation.blade.php +++ b/resources/views/layouts/navigation.blade.php @@ -1,113 +1,246 @@ {{-- menu lateral --}} -
- @php $config = \App\Models\Configuracione::orderby('id', 'desc')->first(); + $bg = $config->color_barra ?? '#0000ff'; @endphp -
-
-
- - +
+
+ +
+ + +
+ +
+
{{ Auth::user()->name ?? ''}}
+
{{ Auth::user()->email ?? ''}}
+
{{ Auth::user()->rol->nombre ?? ''}}
+
+ + +
-
-
{{ Auth::user()->name }}
-
{{ Auth::user()->email }}
-
{{ Auth::user()->rol->nombre }}
-
-
+ Descargar Catalogo + + @endif + @if (auth()->user()->rol->nombre != 'editor' && auth()->user()->rol->nombre != 'administrador') + + + + + Reportes + + @endif -
-
- - - - - {{ __('Inicio') }} - -
-
- - - - - - {{ __('Clientes') }} - -
-
- - - - - {{ __('Servicios') }} - -
-
- - - - - {{ __('Top distribuidores') }} - -
- @if (!empty($config->catalogo)) -
-
- - - - + @if ((auth()->user()->subvendedor && $config->subvendedor) || in_array(auth()->user()->rol->nombre, ['super', 'administrador', 'editor'])) + - @endif - @if (auth()->user()->rol->nombre != 'editor' && auth()->user()->rol->nombre != 'administrador') -
- - - - - - + + - {{ __('Reportes') }} - + + + @if (in_array(auth()->user()->rol->nombre, ['super', 'administrador', 'editor'])) + Admin + @else + Subvendedor + @endif + +
+ + + + + + +
+ @if ($config->subvendedor && auth()->user()->subvendedor) + + + + + Gestión Roles + + + + + + Gestión Usuarios + + + + + + Log Comisiones + + @if (auth()->user()->rol->nombre != 'super') + + + + + Gestión Tarifas + + @endif + @endif + + @if (in_array(auth()->user()->rol->nombre, ['super', 'administrador', 'editor'])) + + + + + Gestión Planes + + + + + + Importar cuentas + + + + + + Gestión Usuarios + + @if (in_array(auth()->user()->rol->nombre, ['super', 'administrador'])) + + + + + Gestión Pendientes + + + + + + Log general + + + + + + Log cuentas + + + @if (auth()->user()->rol->nombre == 'super') + + + + + Gestión + + + + + + Utilidades + + + + + + Log historial + + + + + + Log recargas + + + + + + Gestión Promociones + + + + + + Gestión Servicios + + + + + + Gestión Categorias + + + + + + Configuración + + @endif + @endif + @endif + +
- @endif -
+
+ @endif + + +
+ @csrf + +
+ + + +{{--
+ @if ((auth()->user()->subvendedor && $config->subvendedor) || in_array(auth()->user()->rol->nombre, ['super', 'administrador', 'editor'])) @endif -
-
+
--}} diff --git a/resources/views/layouts/navigationup.blade.php b/resources/views/layouts/navigationup.blade.php index f0f01b6..1c9c075 100755 --- a/resources/views/layouts/navigationup.blade.php +++ b/resources/views/layouts/navigationup.blade.php @@ -1,70 +1,71 @@ -