Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_backend
Commits
f4383959
Commit
f4383959
authored
Nov 26, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actualizacion logica fecha fin de suscripcion
Seteo de hora final a las 10 am
parent
d320b046
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/BackendBundle/Controller/PagosExternosController.php
src/BackendBundle/Controller/PagosExternosController.php
+1
-0
src/BackendBundle/Controller/UtilidadesController.php
src/BackendBundle/Controller/UtilidadesController.php
+1
-0
No files found.
src/BackendBundle/Controller/PagosExternosController.php
View file @
f4383959
...
...
@@ -142,6 +142,7 @@ class PagosExternosController extends AbstractController {
$fechaInicioKushki
=
new
\DateTime
();
$fechaInicioKushki
->
modify
(
'+1 days'
);
$fecha
=
new
\DateTime
();
$fecha
->
setTime
(
10
,
00
);
$periodo
=
Utiles
::
getParametroConfiguracion
(
"periodoSuscripcion"
,
$em
);
if
(
$periodo
==
"daily"
){
$fechaUnaSemana
=
$fecha
->
modify
(
'+1 days'
);
...
...
src/BackendBundle/Controller/UtilidadesController.php
View file @
f4383959
...
...
@@ -383,6 +383,7 @@ class UtilidadesController extends AbstractController {
$json
=
new
JsonResponse
();
$fechaActual
=
new
\DateTime
();
$fecha
=
new
\DateTime
();
$fecha
->
setTime
(
10
,
00
);
if
(
$periodo
==
"daily"
){
$fechaUnaSemana
=
$fecha
->
modify
(
'+1 days'
);
}
else
if
(
$periodo
==
"weekly"
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment