@if (auth()->user()->rol_id == 5)
-
+
| {{ $usuario->subvendedor_relacion->name ?? 'N/A' }} |
@endif
- {{ $usuario->name ?? '' }} |
- {{ $usuario->email ?? '' }} |
- {{ $usuario->rol->nombre ?? '' }} |
- {{ $usuario->historiales_venta_count ?? '' }} |
- {{ number_format($usuario->saldo->valor ?? 0) ?? 0 }} |
-
-
- Tarifas: {{ $usuario->countActiveTarifas() ?? 0 }},
- Promos: {{ $usuario->countActivePromos() ?? 0 }}
-
- |
-
- @if (auth()->user()->rol->nombre == 'super')
-
- @else
- @if (Auth::user()->subvendedor)
-
- @endif
- @endif
- |
-
+ {{ $usuario->name ?? '' }} |
+ {{ $usuario->email ?? '' }} |
+ {{ $usuario->rol->nombre ?? '' }} |
+ {{ $usuario->historiales_venta_count ?? '' }} |
+ {{ number_format($usuario->saldo->valor ?? 0) ?? 0 }} |
+
+
+ Tarifas: {{ $usuario->countActiveTarifas() ?? 0 }},
+ Promos: {{ $usuario->countActivePromos() ?? 0 }}
+
+ |
+
@if (auth()->user()->rol->nombre == 'super')
- |
-
-
-
-
-
-
-
-
-
-
-
- |
- @elseif (Auth::user()->subvendedor)
-
-
-
-
-
-
- @if ($usuario->subvendedor)
-
- @else
-
- @endif
-
-
-
-
- |
- @else
+
+ @else
+ @if (Auth::user()->subvendedor)
+
@endif
-
+ @endif
+
+
+ @if (auth()->user()->rol->nombre == 'super')
+