Price was calculated from the gross

Hi everyone :slight_smile: How and where to make a change in the Quotes module (Line Items) to get service price (Sale Price field) was calculated from the gross (Total field)?

Any idea?

Hello, did you ever receive a response or found out how to do this?.
I am actually interested in knowing where the calculations in AOS are made.
thank you!

I ran a search for “price”. There are 346 matches in 53 files.

Looking at these matches I believe that you have to look at: modules/AOS_Products_Quotes/line_items.js

“price” appears several times in this file. I would focus mostly after line 600 where it seems to be used for calculations (before it seems to be used for labels).

This is only a guess but you can start from there.