From e0cb1bbe22e269ee5c6bdfae604b5c4cb8c835aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20Luginbu=CC=88hl?= Date: Mon, 6 Feb 2017 23:44:48 +0100 Subject: [PATCH] pmt37: prefix card number with c character for consistency --- .../java/com/openbravo/pos/customers/JPanelCustomerList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/openbravo/pos/customers/JPanelCustomerList.java b/src/main/java/com/openbravo/pos/customers/JPanelCustomerList.java index bbdf96a..e8dca2d 100644 --- a/src/main/java/com/openbravo/pos/customers/JPanelCustomerList.java +++ b/src/main/java/com/openbravo/pos/customers/JPanelCustomerList.java @@ -78,7 +78,7 @@ public Populator>> getPopulator() { data.forEach((HashMap record) -> { CustomerInfoExt cust = new CustomerInfoExt(null); - String card = this.config.get("card").equals("GENERATE") ? StringUtils.getCardNumber() : record.get(this.config.get("card")); + String card = this.config.get("card").equals("GENERATE") ? "c" + StringUtils.getCardNumber() : record.get(this.config.get("card")); cust.setCard(card); cust.setSearchkey(card);