Merge branch 'cc-5709-airtime-analyzer-buy-now' into cc-5709-airtime-analyzer-buy-now-saas
This commit is contained in:
commit
e9cca4c441
4 changed files with 73 additions and 55 deletions
|
@ -17,14 +17,16 @@ class Application_Form_BillingUpgradeDowngrade extends Zend_Form
|
|||
$pid->setLabel(_('Plan type:'))
|
||||
->setMultiOptions($productTypes)
|
||||
->setRequired(true)
|
||||
->setValue(26);
|
||||
->setValue(BillingController::getClientCurrentAirtimeProduct()["pid"]);
|
||||
$this->addElement($pid);
|
||||
|
||||
Logging::info(BillingController::getClientCurrentAirtimeProduct());
|
||||
$billingcycle = new Zend_Form_Element_Radio('newproductbillingcycle');
|
||||
$billingcycle->setLabel(_('Billing cycle:'))
|
||||
->setMultiOptions(array('monthly' => 'Monthly', 'annually' => 'Annually'))
|
||||
->setRequired(true)
|
||||
->setValue('monthly');
|
||||
->setValue(BillingController::getClientCurrentAirtimeProduct()["billingcycle"]);
|
||||
|
||||
$this->addElement($billingcycle);
|
||||
|
||||
$paymentmethod = new Zend_Form_Element_Radio('paymentmethod');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue