Changed the functionality while editing promo code

Signed-off-by: Anurag <anurag.pattnaik@andolasoft.com>