Line 167... |
Line 167... |
167 |
|
167 |
|
168 |
<?php
|
168 |
<?php
|
169 |
|
169 |
|
170 |
require_once WPSG_PATH_LIB.'phpgirocode.class.php';
|
170 |
require_once WPSG_PATH_LIB.'phpgirocode.class.php';
|
171 |
|
171 |
|
172 |
if (isset($this->view['mod_prepayment']['subject'])) {
|
172 |
if (isset($this->view['mod_prepayment']['subject']) && ($this->get_option('wpsg_mod_prepayment_qrcode') == true)) {
|
173 |
|
173 |
|
174 |
if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
|
174 |
if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
|
- |
|
175 |
|
175 |
|
176 |
|
- |
|
177 |
if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '0') {
|
- |
|
178 |
|
- |
|
179 |
$qrcodes = array();
|
176 |
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));
|
180 |
$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']));
|
- |
|
181 |
|
- |
|
182 |
foreach ($qrcodes as $qr) echo $qr;
|
- |
|
183 |
|
- |
|
184 |
} else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '1') {
|
- |
|
185 |
|
- |
|
186 |
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']));
|
- |
|
187 |
|
- |
|
188 |
} else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '2') {
|
- |
|
189 |
|
- |
|
190 |
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']));
|
- |
|
191 |
|
- |
|
192 |
}
|
177 |
|
193 |
|
178 |
}
|
194 |
}
|
179 |
|
195 |
|
180 |
}
|
196 |
}
|
181 |
|
197 |
|