fix: Corregir restricción del botón 'Reinicializar Pagos' para administradores
- Cambiar condición de Auth::isCapturist() a Auth::isAdmin() - Solo administradores pueden ver y usar el botón de reinicializar pagos - Mejorar seguridad en gestión de conceptos especiales
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php if (Auth::isCapturist()): ?>
|
||||
<?php if (Auth::isAdmin()): ?>
|
||||
<div class="alert alert-warning text-center mb-3">
|
||||
<i class="bi bi-arrow-clockwise"></i>
|
||||
<button id="reinit-payments-btn" class="btn btn-warning me-2">
|
||||
|
||||
Reference in New Issue
Block a user