getRequest()->getParam('id'); if ($customerId) { $this->_coreRegistry->register(RegistryConstants::CURRENT_CUSTOMER_ID, $customerId); } return $this; } /** * Customer billing agreements ajax action * * @return void */ public function execute() { $this->initCurrentCustomer(); $this->_view->loadLayout(false); $this->_view->renderLayout(); } }