Some refactoring of the coupon class to load data with less code
Move formatting logic