Implement invoice functional test

I implement the functional test for invoices.  During this, I fix a bug
in the show view.

Furthermore, I implement the setInputValue() and getInputValue() methods
for quite all types of input controls, especially for select fields.  I
also remove the parenthesis around the setInputValue() calls.