How to Edit Quote Module Line Items's style and change discount's arithmetic

Hello all,

I’m new in SuiteCRM 7.5.3, and I have two questions.

Q1:I’m trying to change the quotes’ line items.I hope to make it like this:
No.(every line have a number)->select icon->part number->product->quantity->then like the original theme,but I don’t know how can I do it. I changed some code form ‘…/modules/AOS_Products_quotes/Line_item.php & line_item.js’, but nothing happen. It’s that right? Should I change ‘…/theme/SuiteR/css/style.css’? I can’t figure out how.

Q2:And may I change the discount and sale price? Make the ‘sale price=discount * list’.

I do like SuiteCRM, and I hope to learn it more.
I’m really not good at English, so there is a image. Any help greatly appreciated!!!

Dong

You may be editing the wrong file.

For instance, check to see if the file “custom/modules/AOS_Products_Quotes/line_items.js” exists. If so you will need to edit that file instead.

You will need to change the calculateLine() function and the calculateTotal() function.

Remember to run a Quick Repair and Rebuild. As SuiteCRM will keep a cached copy of the file.

2 Likes

Thanks so much! I
I think you’re right, I’m editing the wrong files.
I’m trying to do it, but I need to learn JS first, :lol: :lol: :lol: !
Thank you !!! :lol: :lol: :lol:

Dear Sir,

Can you please indicate the modifications you have done for showing numbered lines?

Thank you in advance,

Alexandru