Fix discount to be calculated with the order adjustment_total instead of promo_total

* It is possible that the promo_total is just incorrectly set, and should
  include manual adjustments. This should be reviewed.