Commit d39eb9ee by Julien Jorry

Fix confirmation page for transaction...

parent 532a91bf
......@@ -148,10 +148,10 @@ class FluxController extends AbstractController
{
$referer = $request->headers->get('referer');
$template = null;
if ($this->templating->getLoader()->exists('@kohinos/flux/confirmationpage/' . $flux->getParentType() . '.html.twig')) {
$template = '@kohinos/flux/confirmationpage/' . $flux->getParentType() . '.html.twig';
if ($this->templating->getLoader()->exists('@kohinos/flux/confirmationpage/' . $flux->getParentType() . '-' . $flux->getType() . '.html.twig')) {
$template = '@kohinos/flux/confirmationpage/' . $flux->getParentType() . '-' . $flux->getType() . '.html.twig';
if ($this->templating->getLoader()->exists('@kohinos/flux/confirmationPage/' . $flux->getParentType() . '.html.twig')) {
$template = '@kohinos/flux/confirmationPage/' . $flux->getParentType() . '.html.twig';
if ($this->templating->getLoader()->exists('@kohinos/flux/confirmationPage/' . $flux->getParentType() . '-' . $flux->getType() . '.html.twig')) {
$template = '@kohinos/flux/confirmationPage/' . $flux->getParentType() . '-' . $flux->getType() . '.html.twig';
}
}
// Redirect to previous page in no confirmation page exist
......
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