-->
Welcome, Guest
Username: Password: Remember me

TOPIC: Reduction or discount to be amount and not percent

Reduction or discount to be amount and not percent 2 months 2 weeks ago #33648

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Gold Boarder
  • Just another Dolibarian!
  • Posts: 242
  • Thank you received: 48
  • Karma: 12
Dear All,
How can the reduc. or discount in customer order or invoice be an amount instead of a percentage?
Kindly assist. What do I need to change in code?
The administrator has disabled public write access.

Reduction or discount to be amount and not percent 2 months 1 week ago #33657

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Gold Boarder
  • Just another Dolibarian!
  • Posts: 242
  • Thank you received: 48
  • Karma: 12
Anyone on this issue?
The administrator has disabled public write access.

Reduction or discount to be amount and not percent 2 months 1 week ago #33672

  • delcroip
  • delcroip's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 113
  • Thank you received: 21
  • Karma: 7
Hi,

I had it but I used workarround:
- either calculate the %
- or having a discount "product'

br.
The administrator has disabled public write access.

Reduction or discount to be amount and not percent 2 months 1 week ago #33683

  • psurelia
  • psurelia's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
  • Karma: 0
Hi Arif,

You don't have to change anything in the code. All you have to do is to add a new line item in your invoice of "Not a predefined entry of type - Service" with description as "DISCOUNT" and set the Unit Price (UP) to the amount of discount with a negative sign ("-"), Tax = 0 and Quantity = 1. That should work just fine.

Hope it helps.

Partha
The administrator has disabled public write access.
The following user(s) said Thank You: ariffidaali
Time to create page: 0.065 seconds