agregar saldo solo super
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user