Journal entries of transactions that involve trade discount and cash discount