add discount to invoices
This commit is contained in:
parent
5a3259b891
commit
d41a68c63e
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ class PaymentController extends Controller
|
|||
->name(__("Invoice"))
|
||||
->buyer($customer)
|
||||
->seller($seller)
|
||||
->discountByPercent(0)
|
||||
->discountByPercent(PartnerDiscount::getDiscount())
|
||||
->taxRate(floatval($shopProduct->getTaxPercent()))
|
||||
->shipping(0)
|
||||
->addItem($item)
|
||||
|
|
Loading…
Add table
Reference in a new issue