This commit is contained in:
lizandrogd
2025-03-13 08:55:24 -05:00
parent eedf2e9e2b
commit b2aa786621
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ 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()->subMinutes(15)->format('Y-m-d H:i:s');
$hora_antes = Carbon::now()->subHours(24)->format('Y-m-d H:i:s');
$this->validarSaldosNegativos($hora_antes, $fecha_ahora);