RE: Invoice Types
Hello Eivind :)
Instead of having two screens, why not check the user group in the onload script and do something like this:
if(invoiceTypesExists() && mUserGroups.exists(userGroup))
{
HtmlElement invoice = addHtmlElement(-1, "invoice", 112, "", index++);
}
Where mUserGroups is a map containing the usergroups that's allowed to see the invoice tab, and userGroup is the current user's usergroup.
There are ofcourse other ways of doing this, but this is one way which doesn't require too much programming.
And for your second point, I don't think there's a possibility to add headers, as far as I know.