I want to add a button in the ribbon of Quote,
When The user click on that, A modal display, with two fields.
One is quote product categories that exist in that quote, that means it searches in the quote product of quote and find all the categories exists in that specific quote and then display them in a combo box.
Another field is a textbox, which is percentage.
Something like
The end-user clicks on the ribbon button, the modal appears, he/she gives a number to the percentage and select one of the categories; when presses apply button, it find and return all amounts of the quote products in that quote that matches the user selected category, compute some amount based on quote total amount and the returned amounts and and insert that computed number into a field in each quote product named overed_amount.
How can I handle this? JS or Plugin?
I prefer to this via JS rather than writing plugin, But can I pass parameters between this HTML or JS file to CRM Form/Forms?
And does anybody have any sample? like this? any suggestion?
I googled and most of Plugin are about writing simple plugin based on existing code.
Can I display modal via plugin?
*This post is locked for comments