Getting rid of mocks in invoices factory getByDate
Merge remote-tracking branch 'origin/TerminalsUI1.2' into TerminalsUI1.2

Conflicts:
	factory/invoice.js