Line 40... |
Line 40... |
40 |
|
40 |
|
41 |
if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '0') {
|
41 |
if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '0') {
|
42 |
|
42 |
|
43 |
$qrcodes = array();
|
43 |
$qrcodes = array();
|
44 |
$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']));
|
44 |
$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']));
|
- |
|
45 |
|
45 |
foreach ($qrcodes as $qr) {
|
46 |
foreach ($qrcodes as $qr) {
|
46 |
|
47 |
|
47 |
// Base64 QR-Image
|
- |
|
48 |
if ($qr['title'] == 'QR-Rechnung') echo '<tr style="margin-top:25px;" >';
|
48 |
if ($qr['title'] == 'QR-Rechnung') echo '<tr style="margin-top:25px;" >';
|
49 |
else echo '<tr>';
|
49 |
else echo '<tr>';
|
50 |
echo '<td>'.__($qr['title'], 'wpsg').'</td>';
|
50 |
echo '<td>'.__($qr['title'], 'wpsg').'</td>';
|
51 |
echo '<td style="float:right;"><img style="max-width:120px;" width="120" height="120" src="data:image/png;base64,'.$qr['hash'].'" alt="qrcode" /></td>';
|
51 |
echo '<td style="float:right;"><img style="max-width:120px;" width="120" height="120" src="data:image/png;base64,'.$qr['hash'].'" alt="qrcode" /></td>';
|
52 |
echo '</tr>';
|
52 |
echo '</tr>';
|
Line 58... |
Line 58... |
58 |
$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']));
|
58 |
$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']));
|
59 |
|
59 |
|
60 |
echo '
|
60 |
echo '
|
61 |
<tr>
|
61 |
<tr>
|
62 |
<td>'.__($qrcode['title'], 'wpsg').':</td>
|
62 |
<td>'.__($qrcode['title'], 'wpsg').':</td>
|
63 |
<td style="float:right;">'.$qrcode['hash'].'</td>
|
63 |
<td style="float:right;" alt="qrcode">'.$qrcode['hash'].'</td>
|
64 |
</tr>
|
64 |
</tr>
|
65 |
';
|
65 |
';
|
66 |
|
66 |
|
67 |
} else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '2') {
|
67 |
} else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '2') {
|
68 |
|
68 |
|
69 |
$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']));
|
69 |
$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']));
|
70 |
|
70 |
|
71 |
echo '
|
71 |
echo '
|
72 |
<tr>
|
72 |
<tr>
|
73 |
<td>'.__($qrcode['title'], 'wpsg').':</td>
|
73 |
<td>'.__($qrcode['title'], 'wpsg').':</td>
|
74 |
<td style="float:right;">'.$qrcode['hash'].'</td>
|
74 |
<td style="float:right;" alt="qrcode">'.$qrcode['hash'].'</td>
|
75 |
</tr>
|
75 |
</tr>
|
76 |
';
|
76 |
';
|
77 |
|
77 |
|
78 |
}
|
78 |
}
|
79 |
|
79 |
|