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

This commit is contained in:
Albert Santoni 2014-06-27 15:50:51 -04:00
commit e9cca4c441
4 changed files with 73 additions and 55 deletions

View file

@ -10,5 +10,6 @@ $this->form->getElement("securityqid")->setAttrib("class", "right-align");
<?php } else if (isset($this->successMessage)) {?>
<div class="success"><?php echo $this->successMessage ?></div>
<?php }?>
<?php echo $this->form ?>
</div>

View file

@ -138,6 +138,8 @@ $(document).ready(function() {
vatFieldChangeTimer = null;
$(vatFieldId).change(function() {
$("#vaterror").text("Please wait, checking VAT number...");
if (vatFieldChangeTimer) {
clearTimeout(vatFieldChangeTimer);
}
@ -246,7 +248,10 @@ $(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 Application_Model_Preference::GetPlanLevel();?>
<p id="current_plan"><b>Current Plan:</b>
<?php echo(BillingController::getClientCurrentAirtimeProduct()["name"]);
//echo Application_Model_Preference::GetPlanLevel();
?>
</p>
<h3>Choose a plan:</h3>