Changed layout on create_invoice

*You can now see the diff between the offered price and the total price
for work and the diff between offered price and the total price.
*added a function to calculate the total in-price of a purchase
*added a function to calculate the total price for the hours worked