public function actionView($pprs_id, $ajax = false, $errors = false)
    {
        $model = $this->loadModel($pprs_id);
        if ($ajax) {
            $this->renderPartial('_view-relations_grids',
                    array(
                        'modelMain' => $model,
                        'ajax' => $ajax,
                        )
                    );
        } else {
            $this->render('view', array('model' => $model,'errors'=>$errors));
        }
    }