diff --git a/modules/bankwire/controllers/front/payment.php b/modules/bankwire/controllers/front/payment.php index 59dc5ab17..63c76795f 100644 --- a/modules/bankwire/controllers/front/payment.php +++ b/modules/bankwire/controllers/front/payment.php @@ -80,4 +80,10 @@ class BankwirePaymentModuleFrontController extends ModuleFrontController $this->setTemplate('payment_execution.tpl'); } + + public function setMedia() + { + parent::setMedia(); + $this->addJS($this->module->getLocalPath().'views/js/front/payment.js'); + } } diff --git a/modules/bankwire/views/js/front/index.php b/modules/bankwire/views/js/front/index.php new file mode 100644 index 000000000..e5f2df63f --- /dev/null +++ b/modules/bankwire/views/js/front/index.php @@ -0,0 +1,33 @@ + - {/if} diff --git a/modules/cheque/controllers/front/payment.php b/modules/cheque/controllers/front/payment.php index 1d5e0f76b..1eee0a140 100644 --- a/modules/cheque/controllers/front/payment.php +++ b/modules/cheque/controllers/front/payment.php @@ -83,4 +83,10 @@ class ChequePaymentModuleFrontController extends ModuleFrontController $this->setTemplate('payment_execution.tpl'); } + + public function setMedia() + { + parent::setMedia(); + $this->addJS($this->module->getLocalPath().'views/js/front/payment.js'); + } } diff --git a/modules/cheque/views/js/front/index.php b/modules/cheque/views/js/front/index.php new file mode 100644 index 000000000..150f23072 --- /dev/null +++ b/modules/cheque/views/js/front/index.php @@ -0,0 +1,32 @@ + - {/if} diff --git a/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl b/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl index d7c41a2ba..148c11978 100644 --- a/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl +++ b/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl @@ -96,10 +96,4 @@ {/if}
- {/if} diff --git a/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl b/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl index 1ff49aed0..9d373466b 100644 --- a/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl +++ b/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl @@ -88,10 +88,4 @@ {/if} - {/if}