public function actionFinvInvoice()
 {
     $this->menu_route = 'd2fixr/FixrFiitXRef/FinvInvoice';
     $model = new FinvInvoice('search');
     $scopes = $model->scopes();
     if (isset($scopes[$this->scope])) {
         $model->{$this->scope}();
     }
     $model->unsetAttributes();
     if (isset($_GET['FinvInvoice'])) {
         $model->attributes = $_GET['FinvInvoice'];
     }
     $this->render('adminFinv', array('model' => $model));
 }
 public function actionAdmin()
 {
     $model = new FinvInvoice('search');
     $scopes = $model->scopes();
     if (isset($scopes[$this->scope])) {
         $model->{$this->scope}();
     }
     $model->unsetAttributes();
     if (isset($_GET['FinvInvoice'])) {
         $model->attributes = $_GET['FinvInvoice'];
     }
     $this->render('admin', array('model' => $model));
 }