Changes to Invoice Function

The number displayed under the column total is now (quantity * price),
note: I'm not using the field 'total' found in the table invoice. Also a
slight optimization of a few lines of code.