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

@ -7,7 +7,7 @@ class Application_Form_BillingClient extends Zend_Form
{
/*$this->setDecorators(array(
array('ViewScript', array('viewScript' => 'form/billing-purchase.phtml'))));*/
$client = BillingController::getClientDetails();
$client = Billing::getClientDetails();
$this->setAttrib("id", "clientdetails_form");
$notEmptyValidator = Application_Form_Helper_ValidationTypes::overrideNotEmptyValidator();

View file

@ -5,9 +5,9 @@ class Application_Form_BillingUpgradeDowngrade extends Zend_Form
{
$productPrices = array();
$productTypes = array();
list($productPrices, $productTypes) = BillingController::getProductPricesAndTypes();
list($productPrices, $productTypes) = Billing::getProductPricesAndTypes();
$currentPlanProduct = BillingController::getClientCurrentAirtimeProduct();
$currentPlanProduct = Billing::getClientCurrentAirtimeProduct();
$currentPlanProductId = $currentPlanProduct["pid"];
$currentPlanProductBillingCycle = $currentPlanProduct["billingcycle"];