boton premios solo para administradores y supers
This commit is contained in:
@@ -32,7 +32,9 @@
|
|||||||
<div class="ml-2 font-medium text-gray-700">Mostrar resultados del mes pasado</div>
|
<div class="ml-2 font-medium text-gray-700">Mostrar resultados del mes pasado</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<x-primary-button wire:click="entregarPremio" class="ml-4">Entregar premio de {{ Carbon\Carbon::now()->subMonth()->format('M') }}</x-primary-button>
|
@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>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="sm:text-base text-sm text-center rounded-lg shadow-lg m-auto sm:mt-4 mb-4 border-separate border-spacing-y-2" wire:loading.class="opacity-50 cursor-wait">
|
<table class="sm:text-base text-sm text-center rounded-lg shadow-lg m-auto sm:mt-4 mb-4 border-separate border-spacing-y-2" wire:loading.class="opacity-50 cursor-wait">
|
||||||
|
|||||||
Reference in New Issue
Block a user