- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 10:16 AM
Hello,
I was wondering if there was a way for me to disable the price, quantity, and total options from the approval screen as seen here?
Thanks
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 03:25 PM
Hi Trevor,
I believe what you're looking for is a UI Macro called 'approval_summarizer_sc_req_item'.
If you check the form layout on the approval table, you should notice that there is an item called Approval Summarizer. This is a Formatter, which defines a UI Macro to load on the page. For this one, there are a series of UI Macros that work together to get down to the 'approval_summarizer_sc_req_item' macro, since your approval is for a Requested item.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 03:25 PM
Hi Trevor,
I believe what you're looking for is a UI Macro called 'approval_summarizer_sc_req_item'.
If you check the form layout on the approval table, you should notice that there is an item called Approval Summarizer. This is a Formatter, which defines a UI Macro to load on the page. For this one, there are a series of UI Macros that work together to get down to the 'approval_summarizer_sc_req_item' macro, since your approval is for a Requested item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2017 07:33 AM
Thanks to you, I have found out how to completely get rid of them, but are you aware of a way to make it so that they are hidden if the price is 0? I realized that I'm not sure if I always want them to be hidden because it could be applicable in some situations.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2017 08:50 AM
Hi Trevor,
The UI Macro uses Jelly, which can be a bit challenging if you've not worked with it before. What you'll want to do is add a j:if to wrap the HTML that adds the price. The j:if will need to check if the price of the item being approved has a value. The links below have some pretty good examples of how to use an IF.
Content Management and the Apache Jelly engine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2019 11:33 AM
Hi,
Is there a way to add the recurring price and frequency to the summary? We have a requirement to show the recurring price and frequency to allow for more visibility behind the different costs hitting a cost center.
Thank you,
Paul