mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
replace fqdn in customfields bundle
This commit is contained in:
@@ -75,7 +75,7 @@ class ReportController extends AbstractController
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$entity = new Report();
|
||||
$cFGroup = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
|
||||
$cFGroup = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
|
||||
->find($cf_group_id);
|
||||
|
||||
$person = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
@@ -186,7 +186,7 @@ class ReportController extends AbstractController
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$cFGroup = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')->find($cf_group_id);
|
||||
$cFGroup = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)->find($cf_group_id);
|
||||
$reports = $em->getRepository('ChillReportBundle:Report')->findByCFGroup($cFGroup);
|
||||
|
||||
$response = $this->render('ChillReportBundle:Report:export.csv.twig', [
|
||||
@@ -271,7 +271,7 @@ class ReportController extends AbstractController
|
||||
|
||||
$person = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)->find($person_id);
|
||||
$cFGroup = $em
|
||||
->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
|
||||
->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
|
||||
->find($cf_group_id);
|
||||
|
||||
if (null === $person) {
|
||||
@@ -343,7 +343,7 @@ class ReportController extends AbstractController
|
||||
);
|
||||
}
|
||||
|
||||
$cFGroups = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
|
||||
$cFGroups = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
|
||||
->findByEntity('Chill\ReportBundle\Entity\Report');
|
||||
|
||||
if (count($cFGroups) === 1) {
|
||||
@@ -402,7 +402,7 @@ class ReportController extends AbstractController
|
||||
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$cFGroups = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
|
||||
$cFGroups = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
|
||||
->findByEntity('Chill\ReportBundle\Entity\Report');
|
||||
|
||||
if (count($cFGroups) === 1) {
|
||||
|
Reference in New Issue
Block a user