removing currency display for meters

This commit is contained in:
Prince
2026-06-08 21:36:31 +02:00
parent 24f435a09f
commit 7ded6b2861
2 changed files with 96 additions and 2 deletions

View File

@@ -122,6 +122,9 @@ public class ZesaConfirmationHotProcessor implements TransactionProcessorInterfa
Map<String, Object> details = (Map<String, Object>) customerData.get("details");
if (details != null) {
for (Map.Entry<String, Object> entry : details.entrySet()) {
// don't show customer ZWG value. It leads to confusion
if(entry.getValue().toString().equals("ZWG"))
continue;
additionalDataList.add(Map.of("name", entry.getKey(), "value", entry.getValue().toString()));
}
}