complete refactoring of invoice
improved sales summary display logic