summaryrefslogtreecommitdiff
path: root/views/mailtemplates/html
diff options
context:
space:
mode:
Diffstat (limited to 'views/mailtemplates/html')
-rw-r--r--views/mailtemplates/html/customer.phtml12
1 files changed, 9 insertions, 3 deletions
diff --git a/views/mailtemplates/html/customer.phtml b/views/mailtemplates/html/customer.phtml
index 181fbcc..60d1b2b 100644
--- a/views/mailtemplates/html/customer.phtml
+++ b/views/mailtemplates/html/customer.phtml
@@ -166,13 +166,19 @@
<br />
<?php
+
require_once WPSG_PATH_LIB.'phpgirocode.class.php';
- if (isset($this->view['mod_prepayment']['subject'])) {
+
+ if (isset($this->view['mod_prepayment']['subject'])) {
+
if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
- echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['basket']['sum']['preis_gesamt_brutto'],
- $this->view['mod_prepayment']['subject'], 3, PhpGirocode::OUTPUT_FILE));
+
+ echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE));
+
}
+
}
+
?>