2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2024-10-14 22:12:00 +02:00
parent 046166f483
commit 9ed4894adc

View File

@@ -162,7 +162,7 @@ class pdf_sponge extends ModelePDFFactures
// Get source company
$this->emetteur = $mysoc;
if (empty($this->emetteur->country_code)) {
$this->emetteur->country_code = substr($langs->defaultlang, -2); // By default, if was not defined
$this->emetteur->country_code = substr($langs->defaultlang, -2); // By default if not defined
}
// Define position of columns
@@ -539,7 +539,7 @@ class pdf_sponge extends ModelePDFFactures
}
}
// Displays notes. Here we are still on code eecuted only for the first page.
// Displays notes. Here we are still on code executed only for the first page.
$notetoshow = empty($object->note_public) ? '' : $object->note_public;
if (getDolGlobalString('MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE')) {
// Get first sale rep