editor y administrador

This commit is contained in:
Felipe
2024-03-01 09:29:19 -05:00
parent 6c760652f6
commit dea9a97b72
6 changed files with 37 additions and 44 deletions
@@ -307,11 +307,12 @@
</svg>
</div>
@if ($total > auth()->user()->saldo->valor)
<div
class=" flex text-red-400 text-xs text-center justify-center gap-2 py-2 rounded-lg md:mx-2 2xl:mx-6">
<p class=""> No tiene fondo suficientes para esta compra, recargue su cuenta.</p>
<a href="{{ route('recarga') }}"><button
class="bg-green-600 text-white rounded px-2 py-1">Recargar</button></a>
<div class=" flex text-red-400 text-xs text-center justify-center gap-2 py-2 rounded-lg md:mx-2 2xl:mx-6">
<p>No tiene fondo suficientes para esta compra, recargue su cuenta.</p>
@if (auth()->user()->rol->nombre != 'editor' && auth()->user()->rol->nombre != 'super')
<a href="{{ route('recarga') }}"><button class="bg-green-600 text-white rounded px-2 py-1">Recargar</button></a>
@endif
</div>
@endif
</div>