public function process(Vtiger_Request $request)
 {
     $model = Settings_Vtiger_TermsAndConditions_Model::getInstance();
     $model->setText($request->get('tandc'));
     $model->save();
     $response = new Vtiger_Response();
     $response->emit();
 }
 public function process(Vtiger_Request $request)
 {
     $model = Settings_Vtiger_TermsAndConditions_Model::getInstance();
     $conditionText = $model->getText();
     $viewer = $this->getViewer($request);
     $qualifiedName = $request->getModule(false);
     $viewer->assign('CONDITION_TEXT', $conditionText);
     $viewer->assign('MODEL', $model);
     $viewer->view('TermsAndConditions.tpl', $qualifiedName);
 }