This commit is contained in:
lizandrogd
2024-12-01 19:30:05 -05:00
parent f4093f43e3
commit aee0bec9f3
2 changed files with 2 additions and 2 deletions
@@ -319,7 +319,7 @@
<div class="bg-white px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse sm:justify-evenly gap-5 mt-4">
@if (auth()->user()->rol->nombre != 'editor')
<span>
<button wire:click="comprar" type="button" wire:loading.attr="disabled"
<button wire:click="comprar" type="button" wire:loading.attr="disabled" hidden
@if ($cantidad_tarjetaPlan <= (int) $disponibles && $total <= auth()->user()->saldo->valor) 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 sm-text-sm sm-leading-5" @else disabled class="cursor-no-drop inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 sm:mb-[0] mb-2 text-white bg-gray-200 hover:bg-gray-200 focus:shadow-outline-green sm-text-sm sm-leading-5" @endif>
Comprar
</button>