public function saveProjectBillingToCorpAction()
 {
     //You will get a list of fields for which you should update the billing
     //info on the done_for_corporation with the values from the project table.
     $project_id = $this->_getParam('project_id');
     $flds = $this->_getParam('flds');
     $projectinfo = Application_Model_Projects::GetProjectInfo($project_id);
     if ($projectinfo) {
         Application_Model_Corporations::updateBillingInfoFromProject($projectinfo);
         $update = array('corporation_id' => $projectinfo->done_for_corporation, 'billing_modified_by' => ProNav_Auth::getUserID(), 'billing_modified_on' => new Zend_Db_Expr('NOW()'));
         foreach ($flds as $f) {
             $update[$f[1]] = $projectinfo->{$f}[0];
         }
         if (count($update) > 3) {
             //if you have any updates there will be more than 3 records.
             Application_Model_Corporations::updateExisting($update);
         }
     }
 }