<#function getDict dictName> <#return dictionariesFacade.getAllDictionaryItems(dictName, messageSource.getLocale())> <#function getDictVal itemKey dictName> <#return dictionaryDao.fetchDictionary(dictName).lookup(itemKey).getValueForCurrentDate().getValue(messageSource.getLocale())> <#function getDictValByDate itemKey dictName date> <#return dictionaryDao.fetchDictionary(dictName).lookup(itemKey).getValueForDate(date).getValue(messageSource.getLocale())> <#macro paramText name description style="" class="">
style="${style}" />
<#macro paramDate name description style="" class="" initialValue = "" format="dd-MM-yyyy" jqueryFormat="dd-mm-yyyy">
style="${style}" <#if initialValue?is_string> <#if initialValue != "">value="${initialValue}" <#else> value="${initialValue?string(format)}" />
<#macro paramDictSelect name dictName description selectText="ir.selectTemplate" style="" class=""> <#assign dictItems = getDict(dictName)/>

<#macro generateReportButton style="">
<#macro exportReportButton buttonText desiredFormat style="">
<#macro caseLink caseId description> <#assign casePortletUrl = settingsProvider.getSetting("case.portlet.url")!""/> <#assign caseUrl = casePortletUrl + "?caseId=" + caseId?c/> ${description?html} <#macro fileLink fileId>