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> |
'; |
|