From 502332abd9c2e56e62dde3560a079112d5d7026a Mon Sep 17 00:00:00 2001 From: voltan Date: Sat, 12 Dec 2015 18:01:08 +0330 Subject: [PATCH] Fix payment --- src/Controller/Front/PaymentController.php | 2 +- src/Form/PayForm.php | 2 +- template/front/pay.phtml | 17 ++++++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/Controller/Front/PaymentController.php b/src/Controller/Front/PaymentController.php index 5d0df13..02bd229 100644 --- a/src/Controller/Front/PaymentController.php +++ b/src/Controller/Front/PaymentController.php @@ -114,7 +114,7 @@ public function indexAction() $this->jump(array('', 'controller' => 'payment', 'action' => 'result'), __('Error to get information.')); } // Set view - $this->view()->setLayout('layout-content'); + $this->view()->setLayout('layout-style'); $this->view()->setTemplate('pay'); $this->view()->assign('invoice', $invoice); $this->view()->assign('form', $form); diff --git a/src/Form/PayForm.php b/src/Form/PayForm.php index e1b451c..6980605 100644 --- a/src/Form/PayForm.php +++ b/src/Form/PayForm.php @@ -66,4 +66,4 @@ public function init() ) )); */ } -} \ No newline at end of file +} \ No newline at end of file diff --git a/template/front/pay.phtml b/template/front/pay.phtml index 4f5e87b..79014e0 100644 --- a/template/front/pay.phtml +++ b/template/front/pay.phtml @@ -1,7 +1,10 @@ -css($this->assetModule('css/front.css')); ?> -
- - form($form); ?> - - -
\ No newline at end of file + + form($form); ?> + + \ No newline at end of file