summaryrefslogtreecommitdiff
path: root/views/mods/mod_prepayment/mail_html.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2025-01-15 13:47:02 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2025-01-15 13:47:02 +0000
commit489ae35046ddfbeb0120f49a2ece9a05c92577c9 (patch)
tree2da98e0b9a99eb6effdab8d378e75a9aeb57d8c5 /views/mods/mod_prepayment/mail_html.phtml
parentb8aa921b74bc42a39abd5a61c81e1031f49029e5 (diff)
- GiroCode
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8477 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_prepayment/mail_html.phtml')
-rw-r--r--views/mods/mod_prepayment/mail_html.phtml72
1 files changed, 0 insertions, 72 deletions
diff --git a/views/mods/mod_prepayment/mail_html.phtml b/views/mods/mod_prepayment/mail_html.phtml
index 272041f..0da2f01 100644
--- a/views/mods/mod_prepayment/mail_html.phtml
+++ b/views/mods/mod_prepayment/mail_html.phtml
@@ -9,75 +9,3 @@
<?php echo wpsg_translate(__('Bitte überweisen Sie den Rechnungsbetrag in Höhe von #1# auf folgendes Konto und geben Sie als Betreff <strong>#2#</strong> an.', 'wpsg'), wpsg_ff($this->view['basket']['arCalculation']['sum']['topay_brutto'], $this->get_option('wpsg_currency')), $this->view['mod_prepayment']['subject']); ?>
</p>
-<table style="width:100%;">
- <tr>
- <td><?php echo __('Kontoinhaber', 'wpsg'); ?>:</td>
- <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?></td>
- </tr>
- <tr>
- <td><?php echo __('IBAN', 'wpsg'); ?>:</td>
- <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?></td>
- </tr>
- <tr>
- <td><?php echo __('Bank', 'wpsg'); ?>:</td>
- <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank')); ?></td>
- </tr>
- <tr>
- <td><?php echo __('BIC-/SWIFT-Code', 'wpsg'); ?>:</td>
- <td style="text-align:right;"><?php echo $this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift')); ?></td>
- </tr>
- <tr>
- <td><?php echo __('Betreff', 'wpsg'); ?>:</td>
- <td style="text-align:right;"><?php echo wpsg_translate(__('#1#', 'wpsg'), $this->view['mod_prepayment']['subject']); ?></td>
- </tr>
- <?php
-
- if (isset($this->view['mod_prepayment']['subject']) && ($this->get_option('wpsg_mod_prepayment_qrcode') == true)) {
-
- require_once WPSG_PATH_LIB.'phpgirocode.class.php';
-
- echo '<tr><td>'.__('Zahlen via QR Code', 'wpsg').':</td></tr>';
-
- 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_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
-
- foreach ($qrcodes as $qr) {
-
- if ($qr['title'] == 'QR-Rechnung') echo '<tr style="margin-top:25px;" >';
- else echo '<tr>';
- echo '<td>'.__($qr['title'], 'wpsg').'</td>';
- echo '<td style="float:right;"><img style="max-width:120px;" width="120" height="120" src="data:image/png;base64,'.$qr['hash'].'" alt="qrcode" /></td>';
- echo '</tr>';
-
- }
-
- } else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '1') {
-
- $qrcode = $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_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
-
- echo '
- <tr>
- <td>'.__($qrcode['title'], 'wpsg').':</td>
- <td style="float:right;" alt="qrcode">'.$qrcode['hash'].'</td>
- </tr>
- ';
-
- } else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '2') {
-
- $qrcode = $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_BASE64, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
-
- echo '
- <tr>
- <td>'.__($qrcode['title'], 'wpsg').':</td>
- <td style="float:right;" alt="qrcode">'.$qrcode['hash'].'</td>
- </tr>
- ';
-
- }
-
- }
-
- ?>
-</table> \ No newline at end of file