|
@@ -135,7 +135,7 @@ class RProjectController extends DooController
|
|
|
$buttonhtml = '(<span class="colOrange">' . $this->statusArray[$numStatusArray['currstatus']] . '</span>)';
|
|
|
}
|
|
|
$html .= '<tr>
|
|
|
- <td><a href="/rproject/' . $this->params['pid'] . '/section/' . $v['pmid'] . '/detail">' . $v['pmname'] . '</a></td>
|
|
|
+ <td><a href="/rproject/' . $this->params['pid'] . '/section/' . $v['pmid'] . '/detail/'.$numStatusArray['mpid'].'">' . $v['pmname'] . '</a></td>
|
|
|
<td class="">第 ' . $countNum . ' 期 ' . $buttonhtml . '</td>
|
|
|
<td class="taR">¥' . number_format($v['contracttotal'], 2, '.', ',') . '</td>
|
|
|
<td>
|
|
@@ -252,6 +252,7 @@ class RProjectController extends DooController
|
|
|
$this->data['allproArray'] = $this->project->getAll();
|
|
|
$this->data['currproArray'] = $this->project->getRowByPid($this->params['pid']);
|
|
|
$this->data['MeasureArray'] = $this->numofperact->getGroupByLastOne($this->params['pmid']);
|
|
|
+ $this->data['MeasureArray'] = $this->numofperact->getGroupByLastOne($this->params['pmid']);
|
|
|
$measureArray = $this->actmeasure->getRowByPmid($this->params['pmid']);
|
|
|
foreach ($this->data['MeasureArray'] as $key => $value) {
|
|
|
if ($measureArray['contracttotal'] > ($value['currdone'] > 0)) {
|
|
@@ -262,6 +263,7 @@ class RProjectController extends DooController
|
|
|
}
|
|
|
$this->data['pmid'] = $this->params['pmid'];
|
|
|
$this->data['pid'] = $this->params['pid'];
|
|
|
+ $this->data['mpid'] = $this->params['mpid'];
|
|
|
$this->render('r-project-section-detail', $this->data, TRUE);
|
|
|
}
|
|
|
|