Merge branch 'cc-5709-airtime-analyzer-buy-now' into cc-5709-airtime-analyzer-buy-now-saas
This commit is contained in:
commit
96f370e071
1 changed files with 3 additions and 1 deletions
|
@ -13,11 +13,13 @@ class Application_Form_BillingUpgradeDowngrade extends Zend_Form
|
|||
//unset($productTypes[$key]);
|
||||
}
|
||||
|
||||
$currentPlanProduct = BillingController::getClientCurrentAirtimeProduct();
|
||||
$currentPlanProductId = $currentPlanProduct["pid"];
|
||||
$pid = new Zend_Form_Element_Radio('newproductid');
|
||||
$pid->setLabel(_('Plan type:'))
|
||||
->setMultiOptions($productTypes)
|
||||
->setRequired(true)
|
||||
->setValue(BillingController::getClientCurrentAirtimeProduct()["pid"]);
|
||||
->setValue($currentPlanProductId);
|
||||
$this->addElement($pid);
|
||||
|
||||
Logging::info(BillingController::getClientCurrentAirtimeProduct());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue