discount and receipttest