Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 086d456746 | |||
| a2466d344f | |||
| 9c5dc1466b |
@@ -50,7 +50,7 @@
|
||||
|
||||
{% endblock %}
|
||||
{% if app.environment == "dev" %}
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% else %}
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% endif %}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<meta charset="utf-8">
|
||||
|
||||
{% if app.environment == "dev" %}
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% else %}
|
||||
{# <meta name="robots" content="noindex,nofollow"> #}
|
||||
{% endif %}
|
||||
|
||||
@@ -80,7 +80,7 @@ twig:
|
||||
globals:
|
||||
push_public_key: "%push_params.public_key%"
|
||||
fairlane_cookie_consent: '@fairlane_cookie_consent.twig'
|
||||
version: '2.8.2'
|
||||
version: '2.8.3'
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ class BatchController extends Controller
|
||||
foreach ($messages as $m) {
|
||||
|
||||
$answer = $m->getAnswer();
|
||||
if(!$answer->getStatusReponse() ){
|
||||
if(!$answer->getStatusReponse() || $answer->getStatusReponse()=="A_TRAITER"){
|
||||
$answer->setStatusReponse("CONTACTE");
|
||||
$em->persist($answer);
|
||||
$em->flush();
|
||||
|
||||
@@ -33,7 +33,6 @@ class MessageRepository extends \Doctrine\ORM\EntityRepository
|
||||
->select('m', 'a')
|
||||
->join('m.answer', 'a')
|
||||
->where('m.status <> :status')
|
||||
->andWhere('a.comment is null')
|
||||
->setParameter(':status', 'DRAFT')
|
||||
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user