From 7a8552d2803d1be9e615585d175d83dd90d202bc Mon Sep 17 00:00:00 2001 From: karl Date: Tue, 1 Aug 2023 06:12:15 +0000 Subject: - Anpassung der Bestellabschlussseite, Inhalte der QR-Codes werden nun mit angegeben git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8341 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_prepayment/mail_html.phtml | 2 +- views/mods/mod_prepayment/order_done.phtml | 152 ++++++++++++++++++++++++----- 2 files changed, 128 insertions(+), 26 deletions(-) (limited to 'views') diff --git a/views/mods/mod_prepayment/mail_html.phtml b/views/mods/mod_prepayment/mail_html.phtml index ea844c4..40c6353 100644 --- a/views/mods/mod_prepayment/mail_html.phtml +++ b/views/mods/mod_prepayment/mail_html.phtml @@ -30,4 +30,4 @@ : view['mod_prepayment']['subject']); ?> - \ No newline at end of file + \ No newline at end of file diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml index dfd6c4b..8efc258 100644 --- a/views/mods/mod_prepayment/order_done.phtml +++ b/views/mods/mod_prepayment/order_done.phtml @@ -7,6 +7,7 @@ //wpsg_debug($this->view['wpsg_mod_prepayment']['subject']); ?> + view['basket']['arCalculation']['sum']['topay_brutto'], $this->get_option('wpsg_currency'))); ?>

replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber'))); ?>
@@ -15,60 +16,161 @@ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift'))); ?>

view['wpsg_mod_prepayment']['subject']); ?> +

view['wpsg_mod_prepayment']['subject']) && ($this->get_option('wpsg_mod_prepayment_qrcode') == true) ) { ?> -

- -

- get_option('wpsg_mod_prepayment_qrcode_country') == '0') { ?> - + callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['wpsg_mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 10, PhpGirocode::OUTPUT_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket'])); + + ?> - echo '
'; - foreach ($img as $i) { - - echo '
'; - echo '

'.$i['title'].':'.'

'; - echo '
'; - echo '

'; - - } - echo '
' +
+ +
+
+

+
+ '; ?> +
+
+
+

+ get_option('wpsg_currency'); ?> +
+
+

+ +
+
+
+
+

+ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_street')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_zip')).' '.$this->replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_city')); ?>
+ +

+
+ +

+
+

+
+
+
+
+
+ +
- ?> get_option('wpsg_mod_prepayment_qrcode_country') == '1') { ?> - + + +

+ +

callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['wpsg_mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 10, PhpGirocode::OUTPUT_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'))); - - echo ''; - + $img = array(); + $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'], 10, PhpGirocode::OUTPUT_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket'])); + ?> +
+
+

+
+ '; ?> +
+
+
+

+ get_option('wpsg_currency'); ?> +
+
+

+ +
+
+
+
+

+ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_street')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_zip')).' '.$this->replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_city')); ?>
+ +

+
+ +

+
+

+
+
+
+
+
+ get_option('wpsg_mod_prepayment_qrcode_country') == '2') { ?> - + callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['wpsg_mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 10, PhpGirocode::OUTPUT_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket'])); + $img = array(); + $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'], 10, PhpGirocode::OUTPUT_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket'])); - echo ''; - ?> + +
+
+

+
+ '; ?> +
+
+
+

+ get_option('wpsg_currency'); ?> +
+
+

+ +
+
+
+
+

+ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_street')); ?>
+ replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_zip')).' '.$this->replaceUniversalPlatzhalter($this->get_option('wpsg_shopdata_city')); ?>
+ +

+
+ +

+
+

+
+
+
+
+
-- cgit v1.2.3