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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php if (Auth::isCapturist()): ?>
|
<?php if (Auth::isAdmin()): ?>
|
||||||
<div class="alert alert-warning text-center mb-3">
|
<div class="alert alert-warning text-center mb-3">
|
||||||
<i class="bi bi-arrow-clockwise"></i>
|
<i class="bi bi-arrow-clockwise"></i>
|
||||||
<button id="reinit-payments-btn" class="btn btn-warning me-2">
|
<button id="reinit-payments-btn" class="btn btn-warning me-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user