fixed minor bugs in discount coupon calculation on checkout view