premios fixed
This commit is contained in:
@@ -33,7 +33,14 @@
|
||||
</label>
|
||||
|
||||
@if (Auth::user()->rol->nombre == 'super' || Auth::user()->rol->nombre == 'administrador')
|
||||
<x-primary-button wire:click="entregarPremio" class="ml-4">Entregar premio de {{ Carbon\Carbon::now()->subMonth()->format('M') }}</x-primary-button>
|
||||
<div class="flex flex-col items-center justify-center">
|
||||
<x-primary-button wire:click="entregarPremio" class="ml-4 disabled:cursor-not-allowed" :disabled="$consultaPremioEntregado">Entregar premios de {{ Carbon\Carbon::now()->subMonth()->format('M') }}</x-primary-button>
|
||||
@if ($consultaPremioEntregado)
|
||||
<span class="text-xs pt-1 text-gray-400 cursor-not-allowed">
|
||||
Los premios del mes de {{ Carbon\Carbon::now()->subMonth()->format('M') }} ya fueron entregados
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user