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