fix advanced invoice reports: agent and payment selection, calendar styling, RT#22258