Merge pull request #366 from Kitzanos/pdf-number-format-issue-prod
Cherry-pick (Fixed number format issue in pdf)
This commit is contained in:
@@ -404,7 +404,8 @@ public class PdfDao {
|
||||
calculateValue(key, fieldValue, formulaTypeMap, columnSums);
|
||||
}
|
||||
String fieldLabel = stateFieldMap.getOrDefault(key, "");
|
||||
if(Boolean.FALSE.equals(fieldLabel.equalsIgnoreCase("Anno"))) {
|
||||
|
||||
if(Boolean.FALSE.equals(fieldLabel.equalsIgnoreCase("Anno")) && Boolean.TRUE.equals(GepafinConstant.NUMERIC.equalsIgnoreCase(fieldTypeMap.get(key)))) {
|
||||
if (Boolean.TRUE.equals(Utils.isNumeric(fieldValue))) {
|
||||
fieldValue = Utils.convertToItalianFormat(fieldValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user