Fix: lost discount from deposit
This commit is contained in:
parent
9a36aa275e
commit
6ae6664828
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user