Add Extrafields in Notes

Add support of extrafields in notes if its specified in extrafield's settings.
This commit is contained in:
Pierre Ardoin 2023-03-09 15:26:59 +01:00 committed by GitHub
parent 65acdd358a
commit 04f463259f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -393,6 +393,13 @@ class pdf_aurore extends ModelePDFSupplierProposal
}
}
}
// Extrafields in note
$extranote = $this->getExtrafieldsInHtml($object, $outputlangs);
if (!empty($extranote)) {
$notetoshow = dol_concatdesc($notetoshow, $extranote);
}
if ($notetoshow) {
$tab_top -= 2;