fix: do not allow Dolibarr's SwitzerlandQR
This commit is contained in:
parent
408b958226
commit
2b25307100
|
|
@ -460,7 +460,8 @@ class pdf_swissqr extends ModelePDFFactures
|
||||||
if (! empty($conf->global->INVOICE_ADD_ZATCA_QR_CODE)) {
|
if (! empty($conf->global->INVOICE_ADD_ZATCA_QR_CODE)) {
|
||||||
$qrcodestring = $object->buildZATCAQRString();
|
$qrcodestring = $object->buildZATCAQRString();
|
||||||
} elseif (! empty($conf->global->INVOICE_ADD_SWISS_QR_CODE)) {
|
} elseif (! empty($conf->global->INVOICE_ADD_SWISS_QR_CODE)) {
|
||||||
$qrcodestring = $object->buildSwitzerlandQRString();
|
// Do not allow another QR code; this module is about having the legit one.
|
||||||
|
// $qrcodestring = $object->buildSwitzerlandQRString();
|
||||||
}
|
}
|
||||||
if ($qrcodestring) {
|
if ($qrcodestring) {
|
||||||
$qrcodecolor = array('25', '25', '25');
|
$qrcodecolor = array('25', '25', '25');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue