This commit is contained in:
Sergio Álvarez 2022-05-24 11:32:24 +02:00
parent e2adb5271e
commit 93ed4af064
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
2 changed files with 10 additions and 7 deletions

View File

@ -47,12 +47,9 @@ class IndexController extends AbstractController
MerBeDMRepository $repoDm
): Response
{
dump('MerServiceRepository->findByOfferId');
dump($repo->findByOfferId($request->query->get('offer_id')));
dump('MerBeDMRepository->findByOfferId');
dump($repoDm->findByOfferId($request->query->get('offer_id')));
return $this->render('index/notificationDm.html.twig');
return $this->render('index/notificationDm.html.twig', [
'serviceRepo' => $repo->findByOfferId($request->query->get('offer_id')),
'beDmRepo' => $repoDm->findByOfferId($request->query->get('offer_id'))
]);
}
}

View File

@ -4,4 +4,10 @@
{% block body %}
<p>check profiler output</p>
<h1>MerServiceRepository->findByOfferId</h1>
{{ dump(serviceRepo) }}
<h1>MerBeDMRepository->findByOfferId</h1>
{{ dump(beDmRepo) }}
{% endblock %}