This commit is contained in:
Lizandro Guarnizo
2025-04-14 16:56:34 -05:00
parent 301cd2cf7a
commit c83cd1a72f
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ class validacionCompra extends Command
{
$fecha_ahora = Carbon::now()->format('Y-m-d H:i:s'); // Fecha y hora actual
//$hora_antes = Carbon::now()->subHours(100)->format('Y-m-d H:i:s'); // 24 horas antes
$hora_antes = Carbon::now()->subHours(24)->format('Y-m-d H:i:s');
$hora_antes = Carbon::now()->subMinutes(10)->format('Y-m-d H:i:s');
$this->validarSaldosNegativos($hora_antes, $fecha_ahora);