summaryrefslogtreecommitdiff
path: root/views/mods/mod_prepayment/order_done.phtml
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/mods/mod_prepayment/order_done.phtml
parentf74e4f0528c301e9d25da0cbca7e68f686f2835a (diff)
- QR Code4.1.1
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7335 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_prepayment/order_done.phtml')
-rw-r--r--views/mods/mod_prepayment/order_done.phtml19
1 files changed, 11 insertions, 8 deletions
diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml
index a1a3a15..bd3cc55 100644
--- a/views/mods/mod_prepayment/order_done.phtml
+++ b/views/mods/mod_prepayment/order_done.phtml
@@ -17,16 +17,19 @@
<?php echo wpsg_translate(__('Bitte als Betreff angeben: "#1#"', 'wpsg'), $this->view['wpsg_mod_prepayment']['subject']); ?>
<?php if (isset($this->view['wpsg_mod_prepayment']['subject'])) { ?>
- <p><?php echo __('Wenn Ihre Banking-App Girocode unterstützt, können Sie diesen QRCode scannen.', 'wpsg'); ?></p>
+
+ <p>
+ <?php echo __('Wenn Ihre Banking-App Girocode unterstützt, können Sie diesen QRCode scannen.', 'wpsg'); ?>
+ </p>
+
<?php
+
require_once WPSG_PATH_LIB.'phpgirocode.class.php';
+
+ $img = $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['wpsg_mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 8, PhpGirocode::OUTPUT_BASE64));
+
+ echo '<img src="data:image/png;base64,'.$img.'" />';
- $img = $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['basket']['sum']['preis_gesamt_brutto'],
- $this->view['wpsg_mod_prepayment']['subject'], 8, PhpGirocode::OUTPUT_BASE64));
?>
- <img src="data:image/gif;base64,<?php echo $img; ?>" alt="" />
-
- <pre style="display:none;"><?php echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['basket']['sum']['preis_gesamt_brutto'],
- $this->view['wpsg_mod_prepayment']['subject'], 8, PhpGirocode::OUTPUT_TEST));
- ?></pre>
+
<?php } ?> \ No newline at end of file