Fixed number format issue in pdf

This commit is contained in:
rajesh
2025-11-05 16:39:40 +05:30
parent 1963aebc9c
commit e530d824e9

View File

@@ -404,7 +404,8 @@ public class PdfDao {
calculateValue(key, fieldValue, formulaTypeMap, columnSums); calculateValue(key, fieldValue, formulaTypeMap, columnSums);
} }
String fieldLabel = stateFieldMap.getOrDefault(key, ""); 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))) { if (Boolean.TRUE.equals(Utils.isNumeric(fieldValue))) {
fieldValue = Utils.convertToItalianFormat(fieldValue); fieldValue = Utils.convertToItalianFormat(fieldValue);
} }