Add total price and paid methods to post model