Using existing function getAmount

This commit is contained in:
Anton Lobovkin 2020-04-08 22:58:31 +02:00 committed by GitHub
parent a982ad7123
commit 4e0460c69b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,8 +163,7 @@ $(function () {
} else {
var caption = "Change Billing Plan";
if (planId) {
var amount = planId.substr(1);
caption += " And Pay $" + amount + " Now";
caption += " And Pay $" + getAmount(planId) + " Now";
}
$("#change-plan-btn")
@ -175,4 +174,4 @@ $(function () {
}
updateChangePlanForm();
});
});