diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2025-01-15 13:47:02 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2025-01-15 13:47:02 +0000 |
| commit | 489ae35046ddfbeb0120f49a2ece9a05c92577c9 (patch) | |
| tree | 2da98e0b9a99eb6effdab8d378e75a9aeb57d8c5 /views/mailtemplates/html | |
| parent | b8aa921b74bc42a39abd5a61c81e1031f49029e5 (diff) | |
- GiroCode
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8477 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mailtemplates/html')
| -rw-r--r-- | views/mailtemplates/html/customer.phtml | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/views/mailtemplates/html/customer.phtml b/views/mailtemplates/html/customer.phtml index dd1ffbb..f352a62 100644 --- a/views/mailtemplates/html/customer.phtml +++ b/views/mailtemplates/html/customer.phtml @@ -181,38 +181,7 @@ <tr>
<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Zahlungsart', 'wpsg'); ?>:
<br />
-
-<?php
-
- require_once WPSG_PATH_LIB.'phpgirocode.class.php';
-
- if (isset($this->view['mod_prepayment']['subject']) && ($this->get_option('wpsg_mod_prepayment_qrcode') == true)) {
-
- if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
-
-
- if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '0') {
-
- $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_FILE, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
-
- foreach ($qrcodes as $qr) echo $qr;
-
- } else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '1') {
-
- echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
-
- } else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '2') {
-
- echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
-
- }
-
- }
-
- }
-
-?>
+
</td>
@@ -221,4 +190,5 @@ <?php $this->callMods('mail_payment'); ?>
</td>
</tr>
+ <?php $this->callMods('mail_payment_after'); ?>
</table>
\ No newline at end of file |
