diff --git a/htdocs/core/tpl/freeproductline_view.tpl.php b/htdocs/core/tpl/freeproductline_view.tpl.php index b3964ed1970..3b58689b845 100644 --- a/htdocs/core/tpl/freeproductline_view.tpl.php +++ b/htdocs/core/tpl/freeproductline_view.tpl.php @@ -32,6 +32,10 @@ $discount=new DiscountAbsolute($this->db); $discount->fetch($line->fk_remise_except); echo ' - '.$langs->transnoentities("DiscountFromCreditNote",$discount->getNomUrl(0)); + } elseif ($line->description == '(DEPOSIT)') { + $discount=new DiscountAbsolute($this->db); + $discount->fetch($line->fk_remise_except); + echo ' - '.$langs->transnoentities("DiscountFromDeposit",$discount->getNomUrl(0)); } else { echo ' - '.nl2br($line->description); }