#if($isPrinting)
#end
#set ($labelPlanned = "Remaining")
#set ($labelSpent = "Spent")
#if ($costId.equals("ManHours"))
#set ($labelPlanned = $CommonFunctions.getDisplayReadyLabel("PlannedManHours"))
#set ($labelRemaining = $CommonFunctions.getDisplayReadyLabel("RemainingManHours"))
#set ($labelSpent = $CommonFunctions.getDisplayReadyLabel("SpentManHours"))
#elseif ($costId.equals("Cost"))
#set ($labelPlanned = $CommonFunctions.getDisplayReadyLabel("PlannedCost"))
#set ($labelRemaining = $CommonFunctions.getDisplayReadyLabel("RemainingCost"))
#set ($labelSpent = $CommonFunctions.getDisplayReadyLabel("SpentCost"))
#elseif ($costId.equals("LaborCost"))
#set ($labelPlanned = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.laborcostplanned"))
#set ($labelRemaining = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.laborcostremaining"))
#set ($labelSpent = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.laborcostspent"))
#elseif ($costId.equals("AllCosts"))
#set ($labelPlanned = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.allcostsplanned"))
#set ($labelRemaining = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.allcostsremaining"))
#set ($labelSpent = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.allcostsspent"))
#end
#set ($rowIndex = 0)
#set ($rowCount = $tableView.getRowVector().size())
#set ($rowCount = $rowCount - 1)
#foreach($row in $tableView.getRowVector())
= $rowCount) class="tablebodyhint" #end>
#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())
#if ($cell2.length() == 0) #set ($cell2 = "0") #end
#if ($cell3.length() == 0) #set ($cell3 = "0") #end
#set ($capacity = $rcell.getCellCapacity())
#if ($colIndex == 0)
#set($content = $CommonFunctions.displayReady($cell, $hashMapInstance))
#elseif ($scol.getFormatting().equals("000000000001"))
#set($content = $CommonFunctions.formatMoney($currentUserId,$cell))
#set($content2 = $CommonFunctions.formatMoney($currentUserId,$cell2))
#set($content3 = $CommonFunctions.formatMoney($currentUserId,$cell3))
#set($contentCapacity = $CommonFunctions.formatMoney($currentUserId,$capacity))
#else
#set($content = $CommonFunctions.formatNumber($cell))
#set($content2 = $CommonFunctions.formatNumber($cell2))
#set($content3 = $CommonFunctions.formatNumber($cell3))
#set($contentCapacity = $CommonFunctions.formatNumber($capacity))
#end
#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)
#set ($projectId = '')
#set ($componentId = '')
#if ($cellId.length() >= 24)
#set ($projectId = $cellId.substring(0, 12))
#set ($componentId = $cellId.substring(12, 24))
#end
#if ($rowIndex < $rowCount)
$content
|
$CommonFunctions.displayReady($rcell.getCellTag1(), $hashMapInstance) |
$CommonFunctions.displayReady($rcell.getCellTag2(), $hashMapInstance)
|
#if ($displayResourcePlannedValue)
$labelPlanned -
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$labelRemaining -
#end
#if ($spentManHoursNotUsed != "NotUsed")
$labelSpent -
#end
|
|
#else
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getusertaskbreakdown.totalsfor") |
$content |
#if ($displayResourcePlannedValue)
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.total") $labelPlanned -
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.total") $labelRemaining -
#end
#if ($spentManHoursNotUsed != "NotUsed")
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.total") $labelSpent -
#end
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getusertaskbreakdown.availablecapacity")
|
#end
#else
#if ($rowIndex < $rowCount)
#if ($displayResourcePlannedValue)
$content3
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$content
#end
#if ($spentManHoursNotUsed != "NotUsed")
$content2
#end
$contentCapacity
|
#else
#set ($spanclass = "systemText")
#if ($rcell.getCellCapacityColor().equals("RED"))
#set ($spanclass = "systemNumberTextRed")
#else
#set ($spanclass = "systemNumberTextGreen")
#end
#if ($displayResourcePlannedValue)
$content3
#end
#if ($remainingManHoursNotUsed != "NotUsed")
$content
#end
#if ($spentManHoursNotUsed != "NotUsed")
$content2
#end
$contentCapacity
|
#end
#end
#set ($colIndex = $colIndex + 1)
#end
#set ($rowIndex = $rowIndex + 1)
#end
|
|
|
#foreach($column in $sumColumns)
#set ($index = 4)
#if ($velocityCount > 1)
|
#set ($index = $index + 1)
#end
#end