From 990c8b80689c81a06acd4b4d174c5618ad8fd525 Mon Sep 17 00:00:00 2001 From: karl Date: Fri, 28 Jul 2023 14:19:34 +0000 Subject: - Feature: Modul Vorkasse: QR-Code von QR-Rechnung (Schweiz) kann nun auf der Bestellabschlussseite/Bestellmail angezeigt werden. git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8336 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_prepayment/order_done.phtml | 58 +++++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 9 deletions(-) (limited to 'views/mods/mod_prepayment/order_done.phtml') diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml index d1505d4..dfd6c4b 100644 --- a/views/mods/mod_prepayment/order_done.phtml +++ b/views/mods/mod_prepayment/order_done.phtml @@ -21,15 +21,55 @@

- - 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 ''; + + + + 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_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 ''; + + ?> + + 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'])); + + echo ''; + + ?> + + \ No newline at end of file -- cgit v1.2.3