How can we remove 'Close Request' button for Employee Role when viewing Request ticket?
Release : 17.1 and higher
Component : SERVICE DESK MANAGER
There is a block of code in the detail_cr.htmpl form in the Employee interface that reads:
// Do not display this button if using status transitions.
if (!bUseTransitionButtons) {
ImgBtnCreate("btn003", "Close_Request", "close_request()", "defer", 0);
}
You should be able to comment out this entire block to remove the functionality.
Make sure to use Web Screen Painter to modify the detail_cr.htmpl form and that the given form is saved in the site/mods install.