* Project list block budget unit conversion.
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
<th class='w-100px'><?php echo $lang->program->PGMPM;?></th>
|
||||
<th class='w-80px'><?php echo $lang->program->PGMStatus;?></th>
|
||||
<?php if($longBlock):?>
|
||||
<th class='w-80px'><?php echo $lang->program->teamCount;?></th>
|
||||
<th class='w-80px'><?php echo $lang->task->consumed;?></th>
|
||||
<th class='w-100px'><?php echo $lang->program->PGMBudget;?></th>
|
||||
<th class='w-60px'><?php echo $lang->program->teamCount;?></th>
|
||||
<th class='w-90px text-right'><?php echo $lang->task->consumed;?></th>
|
||||
<th class='w-80px text-right'><?php echo $lang->program->PGMBudget;?></th>
|
||||
<th class='w-80px'><?php echo $lang->program->leftStories;?></th>
|
||||
<th class='w-80px'><?php echo $lang->program->leftTasks;?></th>
|
||||
<th class='w-80px'><?php echo $lang->program->leftBugs;?></th>
|
||||
@@ -34,12 +34,13 @@
|
||||
<span class="status-program status-<?php echo $project->status?>"><?php echo zget($lang->project->statusList, $project->status);?></span>
|
||||
</td>
|
||||
<?php if($longBlock):?>
|
||||
<td><?php echo $project->teamCount;?></td>
|
||||
<td title="<?php echo $project->consumed . ' ' . $lang->project->workHour;?>"><?php echo $project->consumed . ' ' . $lang->project->workHourUnit;?></td>
|
||||
<td><?php echo $project->budget != 0 ? zget($lang->program->currencySymbol, $project->budgetUnit) . number_format($project->budget, 2) : $lang->program->future;?></td>
|
||||
<td><?php echo $project->leftStories;?></td>
|
||||
<td><?php echo $project->leftTasks;?></td>
|
||||
<td><?php echo $project->leftBugs;?></td>
|
||||
<td class='text-center'><?php echo $project->teamCount;?></td>
|
||||
<td class='text-right' title="<?php echo $project->consumed . ' ' . $lang->project->workHour;?>"><?php echo $project->consumed . ' ' . $lang->project->workHourUnit;?></td>
|
||||
<?php $programBudget = in_array($this->app->getClientLang(), ['zh-cn','zh-tw']) && $project->budget >= 10000 ? number_format($project->budget / 10000, 1) . $this->lang->program->tenThousand : number_format((float)$project->budget, 1);?>
|
||||
<td class='text-right'><?php echo $project->budget != 0 ? zget($lang->program->currencySymbol, $project->budgetUnit) . ' ' . $programBudget : $lang->program->future;?></td>
|
||||
<td class='text-center'><?php echo $project->leftStories;?></td>
|
||||
<td class='text-center'><?php echo $project->leftTasks;?></td>
|
||||
<td class='text-center'><?php echo $project->leftBugs;?></td>
|
||||
<?php endif;?>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
|
||||
Reference in New Issue
Block a user