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 weeks 1 day ago #33648

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Gold Boarder
  • Just another Dolibarian!
  • Posts: 237
  • Thank you received: 47
  • 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 1 week 3 days ago #33657

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

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

  • delcroip
  • delcroip's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Thank you received: 20
  • 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 1 week 21 hours 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.059 seconds