This topic is locked

Invoice discount

4/8/2015 4:36:40 PM
PHPRunner General questions
P
pmorenoc07 author

I have an invoice where I want to give client some item as discount

But I still want to reflect the item and value in the amount field as negative value, and to be rested from Total.
for that have a check-box to set the record as is-rested to do the discount.

Here is an example.



check-box price qty Amount

false 1. item 1 $50.0 1 -$50.00 C

true 2. item 2 $100.0 1 $100.00

true 3. item 3 $100.0 1 $100.00
----------------------------total $200.00

How can this be accomplished?