move method drawLineBlocks from invoice to abstract model to gain better item rendering and page switching