Works on capability to hook a thirdparty module.
This commit is contained in:
parent
eed75471af
commit
63ba8627a9
@ -1329,7 +1329,7 @@ class CommonObject
|
||||
{
|
||||
if ($line->description == '(CREDIT_NOTE)')
|
||||
{
|
||||
$discount=new DiscountAbsolute($db);
|
||||
$discount=new DiscountAbsolute($this->db);
|
||||
$discount->fetch($line->fk_remise_except);
|
||||
print ' - '.$langs->transnoentities("DiscountFromCreditNote",$discount->getNomUrl(0));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user