mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
select_report_type : person template
This commit is contained in:
@@ -86,6 +86,8 @@ class ReportController extends Controller
|
||||
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$person = $em->getRepository('ChillPersonBundle:Person')->find($person_id);
|
||||
|
||||
$cFGroups = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
|
||||
->findByEntity('Chill\ReportBundle\Entity\Report');
|
||||
|
||||
@@ -106,7 +108,8 @@ class ReportController extends Controller
|
||||
->getForm();
|
||||
|
||||
return $this->render('ChillReportBundle:Report:select_report_type.html.twig', array(
|
||||
'form' => $form->createView()
|
||||
'form' => $form->createView(),
|
||||
'person' => $person
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user