WL-100 fixed the bug on the edit/add coupon and set course price.

@chrisndodge Kindly review the changes related to [WL-100]

Thanks