Fixed order of saleLines, added DiscountResult