102 lines
4.7 KiB
PHP
102 lines
4.7 KiB
PHP
<?php
|
|
/**
|
|
* The html template file of invest method of personnel module of ZenTaoPMS.
|
|
*
|
|
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
|
|
* @license ZPL (http://zpl.pub/page/zplv12.html)
|
|
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
|
|
* @package ZenTaoPMS
|
|
* @version $Id
|
|
*/
|
|
?>
|
|
<?php include '../../common/view/header.html.php';?>
|
|
<style>
|
|
.main-table thead>tr>th:first-child {padding-left: 8px;}
|
|
.table.has-sort-head thead>tr>th {padding-right: 8px;}
|
|
</style>
|
|
<div id="mainContent" class="main-row fade">
|
|
<?php if(!empty($investList)):?>
|
|
<div class="main-col">
|
|
<form class="main-table table-product" data-ride="table" method="post" action="">
|
|
<table class="table has-sort-head table-fixed table-bordered text-center">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan='2' class="w-80px"> <?php echo $lang->personnel->name;?></th>
|
|
<th rowspan='2'><?php echo $lang->personnel->role;?></th>
|
|
<th rowspan='2'><?php echo $lang->personnel->projects;?></th>
|
|
<th rowspan='2'><?php echo $lang->personnel->executions;?></th>
|
|
<th colspan="2"><?php echo $lang->personnel->workingHours;?></th>
|
|
<th colspan="3"><?php echo $lang->personnel->task;?></th>
|
|
<th colspan="3"><?php echo $lang->personnel->bug;?></th>
|
|
<th <?php echo $config->URAndSR ? "colspan='2'" : "rowspan='2'";?> class="w-150px"><?php echo $lang->personnel->createStories;?></th>
|
|
<?php if(isset($this->config->maxVersion)): ?>
|
|
<th colspan="3"><?php echo $lang->personnel->issue;?></th>
|
|
<th colspan="3"><?php echo $lang->personnel->risk;?></th>
|
|
<?php endif;?>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->personnel->invest;?></th>
|
|
<th><?php echo $lang->personnel->left;?></th>
|
|
<th><?php echo $lang->personnel->created;?></th>
|
|
<th><?php echo $lang->personnel->finished;?></th>
|
|
<th><?php echo $lang->personnel->wait;?></th>
|
|
<th><?php echo $lang->personnel->created;?></th>
|
|
<th><?php echo $lang->personnel->resolved;?></th>
|
|
<th><?php echo $lang->personnel->wait;?></th>
|
|
<?php if($this->config->URAndSR):?>
|
|
<th><?php echo $lang->personnel->UR;?></th>
|
|
<th><?php echo $lang->personnel->SR;?></th>
|
|
<?php endif;?>
|
|
<?php if(isset($this->config->maxVersion)): ?>
|
|
<th><?php echo $lang->personnel->created;?></th>
|
|
<th><?php echo $lang->personnel->resolved;?></th>
|
|
<th><?php echo $lang->personnel->wait;?></th>
|
|
<th><?php echo $lang->personnel->created;?></th>
|
|
<th><?php echo $lang->personnel->resolved;?></th>
|
|
<th><?php echo $lang->personnel->wait;?></th>
|
|
<?php endif;?>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="sortable">
|
|
<?php foreach($investList as $personnel):?>
|
|
<tr>
|
|
<td title='<?php echo $personnel['realname'];?>'><?php echo $personnel['realname'];?></td>
|
|
<td title='<?php echo $personnel['role'];?>'><?php echo $personnel['role'];?></td>
|
|
<td><?php echo $personnel['projects'];?></td>
|
|
<td><?php echo $personnel['executions'];?></td>
|
|
<td><?php echo round($personnel['consumedTask'], 1);?></td>
|
|
<td><?php echo round($personnel['leftTask'], 1);?></td>
|
|
<td><?php echo $personnel['createdTask'];?></td>
|
|
<td><?php echo $personnel['finishedTask'];?></td>
|
|
<td><?php echo $personnel['pendingTask'];?></td>
|
|
<td><?php echo $personnel['createdBug'];?></td>
|
|
<td><?php echo $personnel['resolvedBug'];?></td>
|
|
<td><?php echo $personnel['pendingBug'];?></td>
|
|
<?php if($this->config->URAndSR):?>
|
|
<td><?php echo $personnel['UR'];?></td>
|
|
<?php endif;?>
|
|
<td><?php echo $personnel['SR'];?></td>
|
|
<?php if(isset($this->config->maxVersion)): ?>
|
|
<td><?php echo $personnel['createdIssue'];?></td>
|
|
<td><?php echo $personnel['resolvedIssue'];?></td>
|
|
<td><?php echo $personnel['pendingIssue'];?></td>
|
|
<td><?php echo $personnel['createdRisk'];?></td>
|
|
<td><?php echo $personnel['resolvedRisk'];?></td>
|
|
<td><?php echo $personnel['pendingRisk'];?></td>
|
|
<?php endif;?>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<?php else:?>
|
|
<div class="table-empty-tip">
|
|
<p>
|
|
<span class="text-muted"><?php echo $lang->noData;?></span>
|
|
</p>
|
|
</div>
|
|
<?php endif;?>
|
|
</div>
|
|
<?php include '../../common/view/footer.html.php';?>
|