The renew button had an issue and the renew function wasn't catching the value sent from the UI. The problem was the ajax call wasn't being made and the function wasn't returning anything. We fixed it by adding $('#renewBtn').on('click', renew); to the .ready() function at the top to capture ajax call.
The renew button had an issue and the renew function wasn't catching the value sent from the UI. The problem was the ajax call wasn't being made and the function wasn't returning anything. We fixed it by adding $('#renewBtn').on('click', renew); to the .ready() function at the top to capture ajax call.