Compare commits

...

2 Commits

Author SHA1 Message Date
llaniau a2466d344f Batch candidature 520 2021-03-29 17:07:59 +02:00
llaniau 9c5dc1466b V2.8.3 2021-03-29 14:31:44 +02:00
3 changed files with 2 additions and 3 deletions
+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: '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')
;