Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
This commit is contained in:
commit
cfbf051fca
@ -519,7 +519,7 @@ class DiscountAbsolute
|
|||||||
//}
|
//}
|
||||||
if ($multicurrency)
|
if ($multicurrency)
|
||||||
{
|
{
|
||||||
return $obj->amount_multicurrency;
|
return $obj->multicurrency_amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $obj->amount;
|
return $obj->amount;
|
||||||
|
|||||||
@ -1272,9 +1272,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
if (!empty($prodser->multilangs[$outputlangs->defaultlang]["note"]) && ($textwasmodified || $translatealsoifmodified)) $note = $prodser->multilangs[$outputlangs->defaultlang]["note"];
|
if (!empty($prodser->multilangs[$outputlangs->defaultlang]["note"]) && ($textwasmodified || $translatealsoifmodified)) $note = $prodser->multilangs[$outputlangs->defaultlang]["note"];
|
||||||
}
|
}
|
||||||
} elseif ($object->element == 'facture' || $object->element == 'facturefourn') {
|
} elseif ($object->element == 'facture' || $object->element == 'facturefourn') {
|
||||||
if ($object->type == $object::TYPE_DEPOSIT) {
|
$desc = str_replace('(DEPOSIT)', $outputlangs->trans('Deposit'), $desc);
|
||||||
$desc = str_replace('(DEPOSIT)', $outputlangs->trans('Deposit'), $desc);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Description short of product line
|
// Description short of product line
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user