<#assign null = "null"> <#assign provider = attributesProvider.getProvider()> <#assign case = case!null> <#assign isCase = (case != null)> <#if !isCase> <#assign caseId = provider.getSimpleAttributeValue("caseId")?number!0> <#assign case = caseManagementFacade.getCaseById(caseId)!null> <#assign name = case.getSimpleAttributeValue("name")!""> <#assign surname = case.getSimpleAttributeValue("surname")!""> <#assign description = case.getSimpleAttributeValue("description")!""> <#assign currentStage = case.getCurrentStage().getName()!""> <#assign stages= provider.stages![]>
<#assign historyIteration = 0/> <#list stageDTOs as stage> <#assign historyIteration = historyIteration + 1/>
No. Stage name Start date End date Files Comments
${historyIteration} ${stage.name} ${stage.getStartDate()!"-"} ${stage.getEndDate()!"-"} ${stage.files!""}
    <#list stage.comments as comment>
  • ${comment.authorFullName} (${comment.authorLogin}) [${comment.getFormattedDate("dd-MM-yy HH:mm")}]

    <#assign commentType = comment.commentType!""/> <#if commentType != ""> ${commentType}
    ${comment.body}