adding discount feature to invoice