fix: force QR block to have black text

In case of coloured watermark, this was not reset to black
This commit is contained in:
Didier 'OdyX' Raboud 2023-03-12 16:30:19 +01:00
parent 408b958226
commit f23a1b40b0
No known key found for this signature in database
GPG Key ID: EA830BC6A684CD7C
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 // Add page for the Swiss QR-invoice
$pdf->AddPage(); $pdf->AddPage();
$this->_pagehead($pdf, $object, 0, $outputlangs); $this->_pagehead($pdf, $object, 0, $outputlangs);
$pdf->SetTextColor(0, 0, 0);
$this->qrinvoice($pdf, $object, $outputlangs); $this->qrinvoice($pdf, $object, $outputlangs);
$pdf->Close(); $pdf->Close();