Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nutrapharm_producto
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
nutrapharm_producto
Commits
841d16fa
Commit
841d16fa
authored
Jun 03, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actualizacion
parent
8a9cb1c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/NutrapharmBundle/Command/EnviarLinkCommand.php
src/NutrapharmBundle/Command/EnviarLinkCommand.php
+3
-2
No files found.
src/NutrapharmBundle/Command/EnviarLinkCommand.php
View file @
841d16fa
...
@@ -42,7 +42,7 @@ class EnviarLinkCommand extends ContainerAwareCommand {
...
@@ -42,7 +42,7 @@ class EnviarLinkCommand extends ContainerAwareCommand {
foreach
(
$usuarios
as
$usuario
)
:
foreach
(
$usuarios
as
$usuario
)
:
$enviarCorreo
=
$this
->
chequearFechaEnviarCorreo
(
$fechaActual
,
$usuario
->
getCreatedAt
(),
$usuario
->
getUnuId
(),
$diasComparacion
);
$enviarCorreo
=
$this
->
chequearFechaEnviarCorreo
(
$fechaActual
,
$usuario
->
getCreatedAt
(),
$usuario
->
getUnuId
(),
$diasComparacion
);
$log
->
debug
(
"respuesta enviar correo a usuario :
$enviarCorreo
"
);
if
(
$enviarCorreo
==
self
::
ENVIO_NUEVO
)
:
if
(
$enviarCorreo
==
self
::
ENVIO_NUEVO
)
:
$log
->
debug
(
"enviando correo a "
.
$usuario
->
getUnuCorreo
());
$log
->
debug
(
"enviando correo a "
.
$usuario
->
getUnuCorreo
());
$correo
=
\Swift_Message
::
newInstance
()
$correo
=
\Swift_Message
::
newInstance
()
...
@@ -105,8 +105,9 @@ class EnviarLinkCommand extends ContainerAwareCommand {
...
@@ -105,8 +105,9 @@ class EnviarLinkCommand extends ContainerAwareCommand {
$log
->
info
(
'no se pudo re-enviar mensaje a:'
.
$usuario
->
getUnuCorreo
()
.
", se mantiene en estado pendiente..."
);
$log
->
info
(
'no se pudo re-enviar mensaje a:'
.
$usuario
->
getUnuCorreo
()
.
", se mantiene en estado pendiente..."
);
}
}
endif
;
endif
;
$log
->
debug
(
"Usuario "
.
$usuario
->
getUnuId
()
.
" no cumple con los requisitos para enviar correo..."
);
endforeach
;
endforeach
;
$output
->
writeln
(
'Command ejecutado.'
);
$output
->
writeln
(
'Command ejecutado.'
);
$log
->
debug
(
' '
);
$log
->
debug
(
' '
);
$log
->
debug
(
'*****************Fin | TIEMPO: '
.
$tt
->
getTiempoTranscurrido
()
.
' Seg. ******************'
);
$log
->
debug
(
'*****************Fin | TIEMPO: '
.
$tt
->
getTiempoTranscurrido
()
.
' Seg. ******************'
);
...
...
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