finish formatting invoice tab; done error checking for printing invoice