Changed the table layout in create_invoice

When there are no purchases or times, the app will display a error
message instead of an empty list
Merge pull request #204 from Useful-Innovation/changes

Changed the table layout in create_invoice