Merge pull request #6 from OdyX/qr-always-black

fix: force QR block to have black text
This commit is contained in:
benvia 2023-03-16 09:10:27 +01:00 committed by GitHub
commit 0bed9ee54e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -857,6 +857,7 @@ class pdf_swissqr extends ModelePDFFactures
// Add page for the Swiss QR-invoice
$pdf->AddPage();
$this->_pagehead($pdf, $object, 0, $outputlangs);
$pdf->SetTextColor(0, 0, 0);
$this->qrinvoice($pdf, $object, $outputlangs);
$pdf->Close();