Merge pull request #366 from Kitzanos/pdf-number-format-issue-prod

Cherry-pick (Fixed number format issue in pdf)
This commit is contained in:
rajeshkhore
2025-11-05 17:02:39 +05:30
committed by GitHub

View File

@@ -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);
}