agregar saldo solo super

This commit is contained in:
Felipe
2024-03-09 09:16:56 -05:00
parent e1e23686d4
commit cea05e9db3
2 changed files with 13 additions and 8 deletions
@@ -329,7 +329,7 @@
@if ($consulta_verUsuarios)
@if ($consulta_verUsuarios->estado == 'pendiente')
@if (count($consulta_verUsuarios->historiales) != $consulta_verUsuarios->servicio->completa)
@if (Auth::user()->rol->nombre != 'editor')
@if (Auth::user()->rol->nombre == 'super')
<span class="mr-4">
<button wire:click="openAdd" type="button" class="inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 sm:mb-[0] mb-2 text-white bg-[#B221FD] hover:bg-[#7a02b8] focus:shadow-outline-green ease-in-out sm-text-sm sm-leading-5 ">Añadir usuario</button>
</span>
@@ -337,7 +337,7 @@
@endif
@else
@if (count($consulta_verUsuarios->historiales) != $consulta_verUsuarios->servicio->pantallas)
@if (Auth::user()->rol->nombre != 'editor')
@if (Auth::user()->rol->nombre == 'super')
<span class="mr-4">
<button wire:click="openAdd" type="button" class="inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 sm:mb-[0] mb-2 text-white bg-[#B221FD] hover:bg-[#7a02b8] focus:shadow-outline-green ease-in-out sm-text-sm sm-leading-5 ">Añadir usuario</button>
</span>