Decouple Billing and S3 cloud storage stuff from Zend

This commit is contained in:
Albert Santoni 2015-01-26 13:10:10 -05:00
parent 49667e3d2d
commit dbba5a7427
11 changed files with 416 additions and 344 deletions

View file

@ -4,7 +4,7 @@
?>
<script type="text/javascript">
<?php echo("var products = " . json_encode(BillingController::getProducts()) . ";\n");
<?php echo("var products = " . json_encode(Billing::getProducts()) . ";\n");
echo("var vatRate = " . json_encode(VAT_RATE) . ";");
?>
@ -255,7 +255,7 @@ $(document).ready(function() {
-->
<p id="current_plan"><b>Current Plan:</b>
<?php
$currentProduct = BillingController::getClientCurrentAirtimeProduct();
$currentProduct = Billing::getClientCurrentAirtimeProduct();
echo($currentProduct["name"]);
//echo Application_Model_Preference::GetPlanLevel();
?>