#if($isPrinting)
#end
#foreach($row in $tableView.getRowVector())
#set ($colIndex = 0)
#foreach ($rcell in $row)
#set ($scol = $sumColumns.elementAt($colIndex))
#set ($type = $scol.getType())
#set ($cell = $rcell.getCellValue())
#set ($cell2 = $rcell.getCellValue2())
#set ($cell3 = $rcell.getCellValue3())
#set ($cellId = $rcell.getCellId())
#set ($capacity = $rcell.getCellCapacity())
#if ($colIndex == 0)
#set($content = $CommonFunctions.displayReady($cell))
#elseif ($scol.getFormatting().equals("000000000001"))
#set($content = $CommonFunctions.formatMoney($currentUserId,$cell,null,"PLAIN"))
#set($content2 = $CommonFunctions.formatMoney($currentUserId,$cell2,null,"PLAIN"))
#set($content3 = $CommonFunctions.formatMoney($currentUserId,$cell3,null,"PLAIN"))
#set($contentCapacity = $CommonFunctions.formatMoney($currentUserId,$capacity,null,"PLAIN"))
#else
#set($content = $CommonFunctions.formatNumber($cell))
#set($content2 = $CommonFunctions.formatNumber($cell2))
#set($content3 = $CommonFunctions.formatNumber($cell3))
#set($contentCapacity = $CommonFunctions.formatNumber($capacity))
#end
#set ($labelCapacity = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.availablecapacity"))
#if ($content2.length() == 0)
#set($content2 = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.common.notset"))
#end
#if ($content3.length() == 0)
#set($content3 = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.common.notset"))
#end
#if ($colIndex == 0)
#if ($cellId.equals("Totals"))
#if ($displayResourcePlannedValue)
$labelPlanned
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$labelRemaining
#end
#if ($spentManHoursNotUsed != "NotUsed")
$labelSpent
#end
$labelCapacity
|
#else
$content
|
#if ($displayResourcePlannedValue)
$labelPlanned - |
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$labelRemaining - |
#end
#if ($spentManHoursNotUsed != "NotUsed")
$labelSpent - |
#end
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getresourcebreakdown.availablecapacity") |
|
|
#end
#else
#if ($cellId.equals("Totals"))
#if ($displayResourcePlannedValue)
$content3
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$content
#end
#if ($spentManHoursNotUsed != "NotUsed")
$content2
#end
#set ($spanclass = "systemText")
#if ($rcell.getCellCapacityColor().equals("GREEN"))
#set ($spanclass = "systemNumberTextGreen")
#elseif ($rcell.getCellCapacityColor().equals("RED"))
#set ($spanclass = "systemNumberTextRed")
#end
$contentCapacity
|
#elseif (!$scol.getLabel().equals("Values"))
#if ($categoryId.startsWith("SkillClass"))
#set ($spanclass = "systemNumberText")
#if ($rcell.getCellCapacityColor().equals("GREEN"))
#set ($spanclass = "systemNumberTextGreen")
#set ($allochint = "Allocation is within capacity")
#elseif ($rcell.getCellCapacityColor().equals("RED"))
#set ($spanclass = "systemNumberTextRed")
#set ($allochint = "Allocation exceeds capacity")
#end
#if ($displayResourcePlannedValue)
$content3 |
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$content |
#end
#if ($spentManHoursNotUsed != "NotUsed")
$content2 |
#end
$contentCapacity |
|
#else
#if ($displayResourcePlannedValue)
$content3 |
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$content |
#end
#if ($spentManHoursNotUsed != "NotUsed")
$content2 |
#end
$contentCapacity |
|
#end
#end
#end
#set ($colIndex = $colIndex + 1)
#end
#end
#foreach($column in $sumColumns)
#if (!$column.getLabel().equals("Values"))
|
#end
#end