Fix translation of note of product
This commit is contained in:
parent
7a93365836
commit
ddbfb5d734
@ -1349,8 +1349,8 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
|
|
||||||
// Set note
|
// Set note
|
||||||
$textwasnotmodified = ($note == $prodser->note_public);
|
$textwasnotmodified = ($note == $prodser->note_public);
|
||||||
if (!empty($prodser->multilangs[$outputlangs->defaultlang]["note"]) && ($textwasnotmodified || $translatealsoifmodified)) {
|
if (!empty($prodser->multilangs[$outputlangs->defaultlang]["other"]) && ($textwasnotmodified || $translatealsoifmodified)) {
|
||||||
$note = $prodser->multilangs[$outputlangs->defaultlang]["note"];
|
$note = $prodser->multilangs[$outputlangs->defaultlang]["other"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ($object->element == 'facture' || $object->element == 'facturefourn') {
|
} elseif ($object->element == 'facture' || $object->element == 'facturefourn') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user