Merge branch 'cc-5709-airtime-analyzer-buy-now' into cc-5709-airtime-analyzer-buy-now-saas
This commit is contained in:
commit
368ac19d52
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ class Application_Form_BillingUpgradeDowngrade extends Zend_Form
|
|||
|
||||
$currentPlanProduct = BillingController::getClientCurrentAirtimeProduct();
|
||||
$currentPlanProductId = $currentPlanProduct["pid"];
|
||||
$currentPlanProductBillingCycle = $currentPlanProduct["billingcycle"];
|
||||
$pid = new Zend_Form_Element_Radio('newproductid');
|
||||
$pid->setLabel(_('Plan type:'))
|
||||
->setMultiOptions($productTypes)
|
||||
|
@ -27,7 +28,7 @@ class Application_Form_BillingUpgradeDowngrade extends Zend_Form
|
|||
$billingcycle->setLabel(_('Billing cycle:'))
|
||||
->setMultiOptions(array('monthly' => 'Monthly', 'annually' => 'Annually'))
|
||||
->setRequired(true)
|
||||
->setValue(BillingController::getClientCurrentAirtimeProduct()["billingcycle"]);
|
||||
->setValue($currentPlanProductBillingCycle);
|
||||
|
||||
$this->addElement($billingcycle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue