diff options
| author | karl <noreply@maennchen1.de> | 2023-08-03 07:03:04 +0000 |
|---|---|---|
| committer | karl <noreply@maennchen1.de> | 2023-08-03 07:03:04 +0000 |
| commit | 92029720fda5af4735582b79fb3fd916ecd5629d (patch) | |
| tree | 43643a460d97b6932ebd232a9a3699783a744a16 /views/mods/mod_prepayment/mail_html.phtml | |
| parent | 13878f8dbd63460e272a15bb8765e52f322282c4 (diff) | |
- Feature: Modul Vorkasse: QR-Rechnung ist nun an Bestellbestätigung (E-Mail) anhängbar
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8344 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_prepayment/mail_html.phtml')
| -rw-r--r-- | views/mods/mod_prepayment/mail_html.phtml | 8 |
1 files changed, 4 insertions, 4 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 @@ <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';
@@ -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 '<tr style="margin-top:25px;" >';
else echo '<tr>';
echo '<td>'.__($qr['title'], 'wpsg').'</td>';
@@ -60,7 +60,7 @@ echo '
<tr>
<td>'.__($qrcode['title'], 'wpsg').':</td>
- <td style="float:right;">'.$qrcode['hash'].'</td>
+ <td style="float:right;" alt="qrcode">'.$qrcode['hash'].'</td>
</tr>
';
@@ -71,7 +71,7 @@ echo '
<tr>
<td>'.__($qrcode['title'], 'wpsg').':</td>
- <td style="float:right;">'.$qrcode['hash'].'</td>
+ <td style="float:right;" alt="qrcode">'.$qrcode['hash'].'</td>
</tr>
';
|
