diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java index c7d53ba1..a7b3b506 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java @@ -2640,6 +2640,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK Double point = 0.0; Double pointQty = 0.0; Double formatPointQty = 0.0; + Double formatRpKontribusi = 0.0; Double percentage = 0.0; DecimalFormat df = new DecimalFormat("#.##"); @@ -3146,6 +3147,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK isDiskonJasamedis1); pointQty = point * totalProduk1.doubleValue(); formatPointQty = Double.parseDouble(df.format(pointQty)); + formatRpKontribusi = totalProduk1 * harga; mapResult1.put("totalKonsul", totalKonsul1.longValue()); mapResult1.put("totalVisit", totalVisit1.longValue()); @@ -3154,6 +3156,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK mapResult1.put("datas", datas1); mapResult1.put("poin", point); mapResult1.put("pointQty", formatPointQty); + mapResult1.put("kontribusi", formatRpKontribusi); result.add(mapResult1); } @@ -3202,6 +3205,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK isDiskonJasamedis2); pointQty = point * totalProduk2.doubleValue(); formatPointQty = Double.parseDouble(df.format(pointQty)); + formatRpKontribusi = totalProduk2 * harga; mapResult2.put("totalKonsul", totalKonsul2.longValue()); mapResult2.put("totalVisit", totalVisit2.longValue()); @@ -3210,6 +3214,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK mapResult2.put("datas", datas2); mapResult2.put("poin", point); mapResult2.put("pointQty", formatPointQty); + mapResult2.put("kontribusi", formatRpKontribusi); result.add(mapResult2); }