status == 1) echo ''.$this->relationRender('expenses'); else if($model->status == 2) echo ''.$this->relationRender('expensesread'); ?>