Fix: Substitution of free text
This commit is contained in:
parent
543460f14f
commit
7b61c2c436
@ -358,15 +358,13 @@ class doc_generic_invoice_odt extends ModelePDFFactures
|
||||
|
||||
|
||||
// Make substitutions into odt of freetext
|
||||
if ($newfreetext)
|
||||
{
|
||||
try {
|
||||
$odfHandler->setVars('free_text', $newfreetext, true, 'UTF-8');
|
||||
}
|
||||
catch(OdfException $e)
|
||||
{
|
||||
}
|
||||
try {
|
||||
$odfHandler->setVars('free_text', $newfreetext, true, 'UTF-8');
|
||||
}
|
||||
catch(OdfException $e)
|
||||
{
|
||||
}
|
||||
|
||||
// Make substitutions into odt of user info
|
||||
$tmparray=$this->get_substitutionarray_user($user,$outputlangs);
|
||||
//var_dump($tmparray); exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user