Decouple Billing and S3 cloud storage stuff from Zend
This commit is contained in:
parent
49667e3d2d
commit
dbba5a7427
11 changed files with 416 additions and 344 deletions
|
@ -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();
|
||||
|
|
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue