Fix generate pdf error
This commit is contained in:
@@ -99,9 +99,6 @@ class FlowController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
// Recalculate if address changed or forced update (optional, but good for consistency)
|
||||
// For now, simple update.
|
||||
|
||||
$em->flush();
|
||||
|
||||
$this->addFlash('success', 'Informations mises à jour.');
|
||||
@@ -118,13 +115,10 @@ class FlowController extends AbstractController
|
||||
|
||||
$session = $devisItem->getOrderSession();
|
||||
|
||||
// 10. DocuSeal Submission
|
||||
$this->signatureClient->createSubmissionDevis($devisItem);
|
||||
|
||||
// 11. Send Email
|
||||
$this->eventDispatcher->dispatch(new DevisSend($devisItem));
|
||||
|
||||
// 10. Update Session
|
||||
$session->setState('allow');
|
||||
$em->flush();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user