summaryrefslogtreecommitdiff
path: root/views/warenkorb/done.phtml
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-04-27 08:43:01 +0000
committerhartmut <noreply@maennchen1.de>2017-04-27 08:43:01 +0000
commitfc258ef7f429f12a3df329f218ea976ab80ebf2b (patch)
tree7c184b8fa1e42dbb15aaf0afec65bae0c0994d54 /views/warenkorb/done.phtml
parentfe948cc8342e0c70aee3a7577f0d2aad7e6d064f (diff)
Bestelluploads und Girocode
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6232 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/done.phtml')
-rw-r--r--views/warenkorb/done.phtml17
1 files changed, 16 insertions, 1 deletions
diff --git a/views/warenkorb/done.phtml b/views/warenkorb/done.phtml
index c5f3492..11f0a59 100644
--- a/views/warenkorb/done.phtml
+++ b/views/warenkorb/done.phtml
@@ -41,8 +41,23 @@
<p><?php echo __('Vielen Dank für Ihre Bestellung!', 'wpsg'); ?></p>
<p><?php $this->callMods('order_done', array(&$this->view['o_id'], &$this->view)); ?></p>
-
+
<br />
<div class="wpsg_clear"></div>
+ <?php if (isset($this->view['wpsg_mod_prepayment']['subject'])) { ?>
+ <p><?php echo __('Wenn Ihre Banking-App Girocode versteht, 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['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><?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 } ?>
+
</div> \ No newline at end of file