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-26 18:59:14 -04:00
commit 54590de6ee
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ define('VAT_RATE', 19.00);
class BillingController extends Zend_Controller_Action {
public function init()
{
{
//Two of the actions in this controller return JSON because they're used for AJAX:
$ajaxContext = $this->_helper->getHelper('AjaxContext');
$ajaxContext->addActionContext('vat-validator', 'json')

View File

@ -125,6 +125,10 @@ class UserController extends Zend_Controller_Action
public function editUserAction()
{
if (Application_Model_User::getCurrentUser()->isSuperAdmin()) {
$this->_redirect('billing/client');
}
$request = $this->getRequest();
$form = new Application_Form_EditUser();
if ($request->isPost()) {