Quote module changes - Markup instead of Discount

Hello all!

I am trying to figure out where I would modify code to change the way the Line Items are handled in Quotes. Instead of a Discount, I need to have it accept a positive number for a Percentage Markup.

I have been nanging my head against a wall for a while now and can not seem to find anywhere to “fix” this. Can anyone point me in the right direction?

Thanks!

In the meantime, I found the “line_items.js” file and made a few changes. The Discount is now a markup, and the totals in the Group are ok. I can not, however, get the Total, Discount and Subtotal correct at the bottom of the page. What am I missing? Is that another file?