spree/spree — pull request #1555 by greinacker (2012-05-17 20:10:56+00:00)
Title: Order emails include ineligible adjustments

Currently, if you have say 2 promotions:

- 5% off orders over $100
- 10% off orders over $200

If you have an order for $240, you'll have a 10% discount. But the order confirmation email will show:

```
Subtotal: $240.00
Promotion (5 percent off) -$12.00
Promotion (10 percent over 200) -$24.00
Shipping $0.00
Order Total: $216.00
```

The total is correct, but it lists a promotion that's not actually applied.

The attached fix changes things to only show the eligible promotions:

```
Subtotal: $270.00
Promotion (10 percent over 200) -$27.00
Shipping $0.00
Order Total: $243.00
```

Targeted at 1-1-stable, but master has the same issue as well.