Commit 075d59e1 by Julien Jorry

Fix operations export

parent 25112099
...@@ -39,10 +39,7 @@ class OperationsController extends AbstractController ...@@ -39,10 +39,7 @@ class OperationsController extends AbstractController
$datemin = new \DateTime('first day of this month'); $datemin = new \DateTime('first day of this month');
$datemin->setTime(0, 0, 0); $datemin->setTime(0, 0, 0);
$datemax = new \DateTime('now'); $datemax = new \DateTime('now');
$form = $this->createForm(ListOperationFormType::class, [ $form = $this->createForm(ListOperationFormType::class);
'datemin' => $datemin,
'datemax' => $datemax,
]);
$form->handleRequest($request); $form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) { if ($form->isSubmitted() && $form->isValid()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment