public function actionAddProductsInOpportunity($optId) { $data = Costbook::getAll(); $view = new AddProductsView($data, $optId, NULL); $view1 = new MyAddProductsView(ZurmoDefaultViewUtil::makeStandardViewForCurrentUser($this, $view)); echo $view1->render(); }
public function actionAddProductsInAgreement($optId) { $data = Costbook::getAll(); $agmntView = new AgreementView($data, $optId, NULL); $view = new MyCustomView(ZurmoDefaultViewUtil::makeStandardViewForCurrentUser($this, $agmntView)); echo $view->render(); }