Merge pull request #7 from OdyX/no-double-swiss-qr
fix: do not allow Dolibarr's SwitzerlandQR
This commit is contained in:
commit
f46bb28387
|
|
@ -460,7 +460,8 @@ class pdf_swissqr extends ModelePDFFactures
|
|||
if (! empty($conf->global->INVOICE_ADD_ZATCA_QR_CODE)) {
|
||||
$qrcodestring = $object->buildZATCAQRString();
|
||||
} 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) {
|
||||
$qrcodecolor = array('25', '25', '25');
|
||||
|
|
|
|||
Loading…
Reference in New Issue