public function createAction()
 {
     $user_id = ProNav_Auth::getUserID();
     $corporation_id = ProNav_Auth::getCorporationID();
     $this->_helper->viewRenderer->setNoRender();
     $prevbunit = Application_Model_Users::GetPrevBusinessUnit($user_id);
     $isEmployee = ProNav_Auth::IsEmployee();
     if ($isEmployee) {
         $wkgp_users = Application_Model_Users::getWorkgroupUsers($prevbunit);
         echo $this->view->partial('project/partial-create-t.phtml', array('type' => 'public', 'trimgroups' => Application_Model_Corporations::GetWorkgroups(ProNav_Utils::TriMId), 'corporations' => Application_Model_Corporations::GetAllCorporations(), 'stages' => Application_Model_Projects::GetStages($isEmployee), 'prevbunit' => $prevbunit, 'trim_emps' => Application_Model_Users::getCompanyUsers(ProNav_Utils::TriMId), 'project_managers' => Application_Model_Users::getCompanyUsers(ProNav_Utils::TriMId, false, $project->acct_project_manager, true), 'field_staff_leaders' => Application_Model_Users::getCompanyUsers(ProNav_Utils::TriMId, false, $project->acct_field_staff_leader, true), 'booking_probability' => Application_Model_Projects::getProjectPercentages(), 'estimating_complete_options' => Application_Model_List::getList(array('table' => 'project_percentages_estimating', 'idKey' => 'project_estimating_id')), 'proposal_types' => Application_Model_List::getList(array('table' => 'project_bill_types', 'idKey' => 'bill_type', 'sortKey' => 'display_order', 'displayKey' => 'title'))));
     } else {
         echo $this->view->partial('project/partial-create-c.phtml', array('trimgroups' => Application_Model_Corporations::GetWorkgroups(ProNav_Utils::TriMId), 'departments' => Application_Model_Users::GetUserWorkgroups($user_id), 'locations' => Application_Model_Locations::getCorporationLocations($corporation_id), 'prevbunit' => $prevbunit, 'require_po' => Application_Model_Corporations::isPORequired(ProNav_Auth::getCorporationID()), 'users' => $this->getUsersForCorp($corporation_id)));
     }
 }