summaryrefslogtreecommitdiff
path: root/views/mailtemplates
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-03-05 08:55:14 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-03-05 08:55:14 +0000
commit3fd450811d809f9557d7290dbb6d477486223742 (patch)
treec4661c2d2ccd4558e09ece8fee7afa106eaadb67 /views/mailtemplates
parentf74e4f0528c301e9d25da0cbca7e68f686f2835a (diff)
- QR Code4.1.1
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7335 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mailtemplates')
-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));
+
}
+
}
+
?>