changes are made according to the suggesstions on PR#4172

changes made in the coupons file

changes in the coupons get_coupon_info view