diff options
| author | thomas <noreply@maennchen1.de> | 2017-10-27 16:50:47 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2017-10-27 16:50:47 +0000 |
| commit | c24d7f9f2851bf8e88451348c6261d0153089f96 (patch) | |
| tree | 60a90c96efad59b8bc92db1940a518d1c72456dd /views/mods | |
| parent | 38f20718ad0c0e13243e8a9a120797c24b7f5a5d (diff) | |
- neues Amazon-Logo
- QR-Code aus done.phtml in order-done vom Modul
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6664 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_prepayment/order_done.phtml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml index 6d3de2b..f2648ba 100644 --- a/views/mods/mod_prepayment/order_done.phtml +++ b/views/mods/mod_prepayment/order_done.phtml @@ -14,4 +14,19 @@ <?php echo wpsg_translate(__('Bank: #1#', 'wpsg'), $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank'))); ?><br />
<?php echo wpsg_translate(__('BIC-/SWIFT-Code: #1#', 'wpsg'), $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift'))); ?>
<br /><br />
-<?php echo wpsg_translate(__('Bitte als Betreff angeben: "#1#"', 'wpsg'), $this->view['wpsg_mod_prepayment']['subject']); ?>
\ No newline at end of file +<?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>
+ <?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 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 |
