penambahan perhitungan total perkiraan kontribusi pendapatan di logbook poin dokter

This commit is contained in:
salmanoe 2021-10-31 17:10:32 +07:00
parent f91c28db49
commit 1a772f82f8

View File

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