worked more on discounts and receipt class