we have a customer with multiple departments where 1 department wants to start using "Invoice types".
When you add an invoice type in Service it will add the tab when you go into "edit request".
I have 2 questions regarding this:
1. Is there a way to only enable this feature for spesific usergroups throug default functionality? This tab should only be available for 1 department/usergroup, and we cant enable it unless we can filter it out for all the others.
I have figured out that i can edit/comment out the following in the "Edit Ticket"-Screen (in the OnLoad-script):
HtmlElement invoice = addHtmlElement(-1, "invoice", 112, "", index++);
If this is commented out the tab "Invoices" do not show up in the Screen.
So, if i have my default "Edit Ticket"-screen and create a duplicate where i comment out the section above, then I can check the users group through Screen chooser, and point to the screen containing the Invoices-tab or not.
Is this the correct way of doing this or is there an easier way?
Will commenting out this section lead to any other/hidden problems with the screen?
If i add a lot of invoice types they all get listed down in one single row. Is there any way to create headings, so I can make it a little easier for them?
E.G. if more departments want to start using Invoice then they have about 30 different options all together, and it's hard to get a proper overview when everything is in 1 long list.
Any input is appreciated :)