CORRECCION KUSHKI FECHA FIN

parent f6af5b83
......@@ -383,7 +383,11 @@ class UtilidadesController extends AbstractController {
$json = new JsonResponse();
$fechaActual = new \DateTime();
$fecha = new \DateTime();
$fechaUnaSemana = $fecha->modify('+7 days');
if($periodo == "daily"){
$fechaUnaSemana = $fecha->modify('+1 days');
}else if($periodo == "weekly"){
$fechaUnaSemana = $fecha->modify('+7 days');
}
$title = "Boton de pago -Suscripcion U Music";
$log->debug("Generando registro de accion CREACION para el usuario " . $usuarioBackend->getUadUser() . " con Id " . $usuarioBackend->getUadId());
$listaObj = $em->getRepository(PluLista::class)->find($lista);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment