SAAS-973: Airtime Billing page - Add support for August promotion plans

Front-end changes to price grid, and plan title
This commit is contained in:
drigato 2015-07-30 12:53:37 -04:00
parent d9e2ba0ed3
commit bccba2f9d5
3 changed files with 62 additions and 20 deletions

View file

@ -423,8 +423,9 @@ class Billing
return true;
}
// if client is currently on monthly or old plan AND (upgrading OR upgrading/downgrading to annual plan), YES
if ($currentPlanBillingCycle == "monthly" || $currentPlanBillingCycle == "free account") {
// if client is currently on monthly or annually or old plan AND (upgrading OR upgrading/downgrading to annual plan), YES
if ($currentPlanBillingCycle == "monthly" || $currentPlanBillingCycle == "free account"
|| $currentPlanBillingCycle == "annually") {
// is the client changing billing cycle to annual?
if ($newProductBillingCycle == "annually") {
return true;