From 92029720fda5af4735582b79fb3fd916ecd5629d Mon Sep 17 00:00:00 2001 From: karl Date: Thu, 3 Aug 2023 07:03:04 +0000 Subject: - Feature: Modul Vorkasse: QR-Rechnung ist nun an Bestellbestätigung (E-Mail) anhängbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8344 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_prepayment/mail_html.phtml | 8 ++++---- views/mods/mod_prepayment/order_done.phtml | 2 +- views/mods/mod_prepayment/settings_edit.phtml | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/views/mods/mod_prepayment/mail_html.phtml b/views/mods/mod_prepayment/mail_html.phtml index 370704c..272041f 100644 --- a/views/mods/mod_prepayment/mail_html.phtml +++ b/views/mods/mod_prepayment/mail_html.phtml @@ -31,7 +31,7 @@ view['mod_prepayment']['subject']); ?> view['mod_prepayment']['subject']) && ($this->get_option('wpsg_mod_prepayment_qrcode') == true)) { require_once WPSG_PATH_LIB.'phpgirocode.class.php'; @@ -42,9 +42,9 @@ $qrcodes = array(); $qrcodes = $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['wpsg_mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket'])); + foreach ($qrcodes as $qr) { - // Base64 QR-Image if ($qr['title'] == 'QR-Rechnung') echo ''; else echo ''; echo ''.__($qr['title'], 'wpsg').''; @@ -60,7 +60,7 @@ echo ' '.__($qrcode['title'], 'wpsg').': - '.$qrcode['hash'].' + '.$qrcode['hash'].' '; @@ -71,7 +71,7 @@ echo ' '.__($qrcode['title'], 'wpsg').': - '.$qrcode['hash'].' + '.$qrcode['hash'].' '; diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml index 87a298f..6850634 100644 --- a/views/mods/mod_prepayment/order_done.phtml +++ b/views/mods/mod_prepayment/order_done.phtml @@ -30,7 +30,7 @@ $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'])); - + ?>
diff --git a/views/mods/mod_prepayment/settings_edit.phtml b/views/mods/mod_prepayment/settings_edit.phtml index 238b14f..80dee13 100644 --- a/views/mods/mod_prepayment/settings_edit.phtml +++ b/views/mods/mod_prepayment/settings_edit.phtml @@ -9,12 +9,13 @@ get_option('wpsg_mod_prepayment_bezeichnung'), array('help' => 'wpsg_mod_prepayment_bezeichnung')); ?> get_option('wpsg_mod_prepayment_aktiv'), array('help' => 'wpsg_mod_prepayment_aktiv')); ?> get_option('wpsg_mod_prepayment_qrcode'), array('help' => 'wpsg_mod_prepayment_qrcode')); ?> -