#if ($isPrinting)
#end
#set ($today = $CommonFunctions.getDate())
#set ($rowCount = 0)
#foreach ($task in $tasksList)
#if ($task.getTask().getStatusId().length() == 0)
#set($statusID = "$notset_text")
#else
#set($statusID = "$CommonFunctions.displayReady($CommonFunctions.getTaskStatusName($task.getTask().getStatusId()))")
#end
#if ($task.getTask().getPriorityId().length() == 0)
#set($priorityID = "$notset_text")
#else
#set($priorityID = "$CommonFunctions.displayReady($CommonFunctions.getTaskPriorityName($task.getTask().getPriorityId()))")
#end
#set ($startDateStyle = "tableBodyContentElement")
#if ($task.getTask().getStatusId().equals("000000000001"))
#if ($task.getTask().getStartDate().length() == 0)
#set ($startDateStyle = "tableBodyContentElementChange")
#elseif ($task.getTask().getStartDate().compareTo($today) < 0)
#set ($startDateStyle = "tableBodyContentElementChange")
#end
#end
#set ($targetDateStyle = "tableBodyContentElement")
#if ( $task.getTask().getStatusId().equals("000000000001") || $task.getTask().getStatusId().equals("000000000002") )
#if ($task.getTask().getTargetDate().length() == 0)
#set ($targetDateStyle = "tableBodyContentElementChange")
#elseif ($task.getTask().getTargetDate().compareTo($today) < 0)
#set ($targetDateStyle = "tableBodyContentElementChange")
#end
#end
#set ($hierarchyList = $CommonFunctions.getTaskHierarchyNameVector($task.getTask().getProjectId(),$task.getTask().getComponentId()))
#set ($currentTaskHierarchy = "")
#foreach($taskParent in $hierarchyList)
#set ($currentTaskHierarchy = $currentTaskHierarchy.concat($CommonFunctions.displayReady($taskParent)))
#set ($currentTaskHierarchy = $currentTaskHierarchy.concat("
"))
#end
#set ($currentTaskName = $CommonFunctions.displayReady($task.getTask().getComponentName()))
|
$CommonFunctions.formatId($task.getTask().getComponentId()) |
$CommonFunctions.displayReady($task.getProjectName()) |
$statusID |
$priorityID |
$CommonFunctions.formatDate($currentUserId,$task.getTask().getStartDate()) |
$CommonFunctions.formatDate($currentUserId,$task.getTask().getTargetDate()) |
$CommonFunctions.displayReady($task.getTask().getOwnerName()) |
$CommonFunctions.displayReady($CommonFunctions.getFullNameDepartmentForUser($CommonFunctions.getTaskResourceIds($task.getTask())), 100) |
#set ($percent = "")
#set ($percent = $CommonFunctions.getMyPercent($currentUserId, $task.getTask()))
#if($percent.equals('')) $CommonFunctions.displayTermFromResourceBundle($currentUserId, "AdminViews", "coredata.na") #else $CommonFunctions.formatDoublePrecision($percent, 2) #end |
#set ($rowCount = $rowCount+1)
#end
|
|
|
|
|
|
|
|
|
|