Compare commits

...

3 Commits

Author SHA1 Message Date
llaniau 992ba3a103 MEP V2.5.0 2021-01-05 17:52:14 +01:00
llaniau 992f61867e Modif User 2021-01-05 17:32:57 +01:00
llaniau 72b119ac0c Mail envoyé avec tous les environnements 2021-01-05 15:19:37 +01:00
4 changed files with 6 additions and 6 deletions
@@ -15,7 +15,7 @@
<!-- Required Meta Tags Always Come First -->
<meta charset="utf-8">
<meta name="robots" content="noindex,nofollow">
{# <meta name="robots" content="noindex,nofollow"> #}
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% block meta %}
{% endblock %}
+1 -1
View File
@@ -80,7 +80,7 @@ twig:
globals:
push_public_key: "%push_params.public_key%"
fairlane_cookie_consent: '@fairlane_cookie_consent.twig'
version: 'V2.4.2'
version: '2.5.0'
@@ -160,7 +160,7 @@ class AnswerController extends FOSRestController
$message->setVideo($video);
$em->persist($message);
$em->flush();*/
if ($this->container->get( 'kernel' )->getEnvironment() != "dev") {
// if ($this->container->get( 'kernel' )->getEnvironment() != "dev") {
$mailManager = $this->get('app.mail_manager');
foreach ($usersCompany as $user){
$link = $this->generateUrl('company_answer_show', array('id' => $answer->getId()), UrlGeneratorInterface::ABSOLUTE_URL);
@@ -188,7 +188,7 @@ class AnswerController extends FOSRestController
'contact_default'
);
}
}
// }
$status = array('status' => "success", "idAnswer" => $answer->getId()/*, "idMessage" => $message->getId()*/);
}
} else {
@@ -377,7 +377,7 @@ class User extends BaseUser
$zipCode = "";
$city = "";
$country = "";
$type=null;
if($this->getCompany()->getPresentationVideo())
{
$pres= $this->getCompany()->getPresentationVideo()->getCdnUrl();
@@ -424,7 +424,7 @@ class User extends BaseUser
}
}
}
$type=null;
if($this->getCompany()->getType()){
$type=$this->getCompany()->getType();
}