Update paiement.class.php
This commit is contained in:
parent
a21e138c70
commit
5bee324578
@ -292,7 +292,7 @@ class Paiement extends CommonObject
|
|||||||
// Insert one discount by VAT rate category
|
// Insert one discount by VAT rate category
|
||||||
$discount = new DiscountAbsolute($this->db);
|
$discount = new DiscountAbsolute($this->db);
|
||||||
$discount->fetch('',$invoice->id);
|
$discount->fetch('',$invoice->id);
|
||||||
if (empty($discount->id)) {
|
if (empty($discount->id)) { // If the invoice was not yet converted into a discount (this may have been done manually before we come here)
|
||||||
|
|
||||||
|
|
||||||
$discount->description = '(DEPOSIT)';
|
$discount->description = '(DEPOSIT)';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user