[FIX] purchase_discount: digits_compute at discount field