public function loadClientStageAction()
 {
     $project_id = $this->_getParam('id', -1);
     $to_stage = $this->_getParam('to_stage', -1);
     $from_stage = $this->_getParam('from_stage', -1);
     $project = Application_Model_Projects::GetProjectInfo($project_id);
     $this->view->project = $project;
     $this->view->to_stage = $to_stage;
     $this->view->from_stage = $from_stage;
     $this->view->states = Application_Model_USStates::getStateList(true);
     $this->view->billTypes = Application_Model_Projects::GetBillTypes(true, false);
     $this->view->invoiceTypes = Application_Model_Projects::getInvoiceTypes();
     $this->view->customers = Application_Model_Corporations::GetAllCorporations();
     $this->view->workgroups = Application_Model_Workgroups::getCorporationWorkgroups($project->done_for_corporation);
     $this->view->contacts = Application_Model_Users::getCompanyUsers($project->done_for_corporation, false, $project->point_of_contact);
     $this->view->project_types = Application_Model_List::getList('project_types', $project->acct_project_type);
     $this->view->invoice_types = Application_Model_List::getList(array('idKey' => 'project_invoice_type_id', 'displayKey' => 'name', 'sortKey' => 'display_order', 'table' => 'project_invoice_types'));
     if ($from_stage == ProNav_Utils::STAGE_HOLD) {
         //when releasing from hold, provide the list of stage options to send the project to.
         //You should use the stage in which the project was in prior to being on hold.
         //unless that stage is 'cancelled', in which case, you will default to the 'open' stage.
         $this->view->project_stages = Application_Model_Projects::GetStages(!ProNav_Auth::isEmployee());
         $original_stage = Application_Model_Projects::getPrevStageInfo($project_id)->prev_stage_id;
         $this->view->toStage = $original_stage == ProNav_Utils::STAGE_CANCELLED ? ProNav_Utils::STAGE_OPEN : $original_stage;
     }
     if ($from_stage == ProNav_Utils::STAGE_AUTHORIZED) {
         $this->view->project_managers = Application_Model_Users::getCompanyUsers(ProNav_Utils::TriMId, false, $project->acct_project_manager, false);
     }
     echo $this->view->render('project/partial-stage-confirmation.phtml');
 }