Merge branch 'cc-5709-airtime-analyzer-buy-now' into cc-5709-airtime-analyzer-buy-now-saas

This commit is contained in:
Albert Santoni 2014-07-02 12:45:44 -04:00
commit 523bb8e7b6
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class Application_Form_BillingUpgradeDowngrade extends Zend_Form
->setValue($currentPlanProductId);
$this->addElement($pid);
Logging::info(BillingController::getClientCurrentAirtimeProduct());
//Logging::info(BillingController::getClientCurrentAirtimeProduct());
$billingcycle = new Zend_Form_Element_Radio('newproductbillingcycle');
$billingcycle->setLabel(_('Billing cycle:'))
->setMultiOptions(array('monthly' => 'Monthly', 'annually' => 'Annually'))

View File

@ -249,7 +249,9 @@ $(document).ready(function() {
<p> <a target="_blank" href="https://www.airtime.pro/pricing"><?=_("View Plans")?></a> (Opens in a new window)</p>
-->
<p id="current_plan"><b>Current Plan:</b>
<?php echo(BillingController::getClientCurrentAirtimeProduct()["name"]);
<?php
$currentProduct = BillingController::getClientCurrentAirtimeProduct();
echo($currentProduct["name"]);
//echo Application_Model_Preference::GetPlanLevel();
?>
</p>