#set ($hashMapInstance = $CommonFunctions.getHashMapInstance()) #set ($progress_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "MainViews", "mainviews.timesheets.generatingview")) #set ($nightlyupdaterunning_text = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.nightlyupdaterunning" )) #parse("viewconstants.vm") #parse("common_js.vm") #parse("commonmethods_js.vm") $CommonFunctions.displayTermFromResourceBundle($currentUserId,"MainViews","mainviews.resources.view") #if ($isPrinting) #end #parse("systemmanager_js.vm") #parse("itimpactdialogs_js.vm") #parse ("pagingcontroljs.vm") #parse ("formvalidator.vm") #parse ("jsnumbervalidator.vm") #if ($isPrinting) #elseif ($nightlyUpdate == "true") #else #end #if ($nightlyUpdate == "true")

$nightlyupdaterunning_text

#else

$progress_text

#if ($requiresPaging) #end #set ($skipColumns = $tableView.getMagicNumber()) #if ($skipColumns.length() == 0) #set ($skipColumns = "1") #end #set ($myInteger = $CommonFunctions.getNewInteger()) #set ($skipColumnsInt = $myInteger.parseInt($skipColumns)) #set ($skipColumnsMinusOneInt = $skipColumnsInt - 1) #if ($requiresPaging) #end
#parse ("exportcontrol.vm") #parse ("resourcereportsparameters.vm") #if ($categoryId.equals("WorkReport") && $canSeePlannedHours) #if ($intervalId.equals("Daily") || $intervalId.equals("Weekly") || $intervalId.equals("Monthly")) #parse("editplannedtoggle.vm") #end #end #if ($categoryId.equals("Project") || $categoryId.equals("WorkReport")) #parse("columnselectioncontrol.vm") #end #parse("pagingcontrol.vm")
 $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.view.settings")
 $CommonFunctions.displayTermFromResourceBundle($currentUserId,"MainViews","mainviews.resources.message")
#if(!$isPrinting) #end #set ($editPlanned = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.edit")) #set ($labelPlanned = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.remaining")) #set ($labelSpent = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.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 ($labelCapacity = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.availablecapacity"))
#foreach($column in $sumColumns) #set ($sortable = false) $CommonFunctions.log( "column: $column.getLegaQuestionId()" ) #if($column.getLegaQuestionId() == 'PersonId' || $column.getLegaQuestionId() == 'COREDATA_Id' || $column.getLegaQuestionId() == 'COREDATA_Project' || $column.getLegaQuestionId() == 'Name') #set ($sortable = true) #end #set ($sortNameIndex = "$velocityCount") #set ($sortImg = $sortNameIndex.concat("SortImage")) #if ($velocityCount == 1) #set ($activeClass = "tableHeaderElementLeft") #else #set ($activeClass = "tableHeaderElement") #end #end
1) onMouseOver="ldShowTooltip(this, '$column.getTooltip()')" #end>$CommonFunctions.displayReady($column.getLabel())
#if($isPrinting) #foreach($column in $sumColumns) #set ($sortNameIndex = "$velocityCount") #set ($sortImg = $sortNameIndex.concat("SortImage")) #if ($velocityCount == 1) #set ($activeClass = "tableHeaderElementLeft") #else #set ($activeClass = "tableHeaderElement") #end #end #end #set ($totalsLine = false) #set ($rowIndex = 0) #foreach($row in $tableView.getRowVector()) #set ($colIndex = 0) #set ($rcellColIndex = 0) #foreach ($rcell in $row) ## For the totaled row, the column index must start after all the column selector columns #if ($colIndex == 1) #if ($cellId.equals("Totals")) #set ($colIndex = $skipColumnsInt) #end #end #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) #if ($cellId.equals("Totals")) #set ($totalsLine = true) #else #set ($totalsLine = false) #end #end #if ( (!$totalsLine) && ($colIndex < $skipColumnsInt) ) #set($content = $CommonFunctions.displayReady($cell, $hashMapInstance)) #if ($scol.getDataType().equals("000000000014")) #set($content = $CommonFunctions.formatId($cell)) #elseif ($scol.getDataType().equals("000000000015")) #set($content = $CommonFunctions.formatDate($currentUserId, $cell)) #elseif ($scol.getFormatting().equals("000000000001")) #set($content = $CommonFunctions.formatMoney($currentUserId,$cell)) #end #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)) #if ($content2.length() == 0) #set($content2 = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.common.notset")) #end #end #if ($totalsLine) #if ($colIndex == 0) #elseif ($colIndex > 0) #end #elseif (!$totalsLine) #if ($colIndex == 0) #elseif ($colIndex < $skipColumnsMinusOneInt) #elseif ($colIndex == $skipColumnsMinusOneInt) #elseif ($colIndex > $skipColumnsMinusOneInt) #set ($rcellColIndex = $rcellColIndex + 1) #end #end #set ($colIndex = $colIndex + 1) #end #set ($rowIndex = $rowIndex + 1) #end #foreach($column in $sumColumns) #set ($sortNameIndex = "$velocityCount") #set ($sortImg = $sortNameIndex.concat("SortImage")) #end
$CommonFunctions.displayReady($column.getLabel(), $hashMapInstance)
$CommonFunctions.displayTermFromResourceBundle($currentUserId, "MainViews", "mainviews.resources.cost.total")
#if ($canSeePlannedHours)
$labelPlanned
#end #if ($canSeeRemainingHours)
$labelRemaining
#end #if ($canSeeSpentHours)
$labelSpent
#end #if ($categoryId.equals("SkillClass") || $categoryId.equals("AllLabor"))
$labelCapacity
#end
#if ($canSeePlannedHours)
$content3
#end #if ($canSeeRemainingHours)
$content
#end #if ($canSeeSpentHours)
$content2
#end #if ($categoryId.equals("SkillClass") || $categoryId.equals("AllLabor")) #set ($spanclass = "systemText") #if ($rcell.getCellCapacityColor().equals("GREEN")) #set ($spanclass = "systemNumberTextGreen") #elseif ($rcell.getCellCapacityColor().equals("RED")) #set ($spanclass = "systemNumberTextRed") #end
$contentCapacity
#end
#if (($categoryId.equals("SkillClass")) || ($categoryId.equals("AllLabor"))) #set ($skId = $cellId) #if ($cellId.length() == 0) #set ($skId = "SkillClass") #end $content #elseif (($categoryId.equals("WorkReport")) || ($categoryId.equals("Project"))) $content #else $content #end
$content
#if ($canSeePlannedHours) #if ($editPlannedId.equals("Enabled"))
$editPlanned $labelPlanned
#end
$labelPlanned
#end #if ($canSeeRemainingHours)
$labelRemaining
#end #if ($canSeeSpentHours)
$labelSpent
#end #if (($categoryId.equals("SkillClass")) || ($categoryId.equals("AllLabor"))) #set ($skId = $cellId) #if ($cellId.length() == 0) #set ($skId = "SkillClass") #end
$labelCapacity
#end
#if ($canSeePlannedHours) #if ($editPlannedId.equals("Enabled"))
$skipColumnsInt) nowrap #end> #if ($rcell.getIsCellEditable()) #end
#end
$skipColumnsInt) nowrap #end>$content3
#end #if ($canSeeRemainingHours)
$skipColumnsInt) nowrap #end>$content
#end #if ($canSeeSpentHours)
$content2
#end #if ($categoryId.equals("SkillClass") || $categoryId.equals("AllLabor")) #set ($spanclass = "systemText") #if ($rcell.getCellCapacityColor().equals("RED")) #set ($spanclass = "systemNumberTextRed") #else #set ($spanclass = "systemNumberTextGreen") #end
$contentCapacity
#end
$column.getLabel()
#if (!$isPrinting)#end #end