penambahan perhitungan total perkiraan kontribusi pendapatan di logbook poin dokter
This commit is contained in:
parent
f91c28db49
commit
1a772f82f8
@ -2640,6 +2640,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK
|
|||||||
Double point = 0.0;
|
Double point = 0.0;
|
||||||
Double pointQty = 0.0;
|
Double pointQty = 0.0;
|
||||||
Double formatPointQty = 0.0;
|
Double formatPointQty = 0.0;
|
||||||
|
Double formatRpKontribusi = 0.0;
|
||||||
Double percentage = 0.0;
|
Double percentage = 0.0;
|
||||||
|
|
||||||
DecimalFormat df = new DecimalFormat("#.##");
|
DecimalFormat df = new DecimalFormat("#.##");
|
||||||
@ -3146,6 +3147,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK
|
|||||||
isDiskonJasamedis1);
|
isDiskonJasamedis1);
|
||||||
pointQty = point * totalProduk1.doubleValue();
|
pointQty = point * totalProduk1.doubleValue();
|
||||||
formatPointQty = Double.parseDouble(df.format(pointQty));
|
formatPointQty = Double.parseDouble(df.format(pointQty));
|
||||||
|
formatRpKontribusi = totalProduk1 * harga;
|
||||||
|
|
||||||
mapResult1.put("totalKonsul", totalKonsul1.longValue());
|
mapResult1.put("totalKonsul", totalKonsul1.longValue());
|
||||||
mapResult1.put("totalVisit", totalVisit1.longValue());
|
mapResult1.put("totalVisit", totalVisit1.longValue());
|
||||||
@ -3154,6 +3156,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK
|
|||||||
mapResult1.put("datas", datas1);
|
mapResult1.put("datas", datas1);
|
||||||
mapResult1.put("poin", point);
|
mapResult1.put("poin", point);
|
||||||
mapResult1.put("pointQty", formatPointQty);
|
mapResult1.put("pointQty", formatPointQty);
|
||||||
|
mapResult1.put("kontribusi", formatRpKontribusi);
|
||||||
|
|
||||||
result.add(mapResult1);
|
result.add(mapResult1);
|
||||||
}
|
}
|
||||||
@ -3202,6 +3205,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK
|
|||||||
isDiskonJasamedis2);
|
isDiskonJasamedis2);
|
||||||
pointQty = point * totalProduk2.doubleValue();
|
pointQty = point * totalProduk2.doubleValue();
|
||||||
formatPointQty = Double.parseDouble(df.format(pointQty));
|
formatPointQty = Double.parseDouble(df.format(pointQty));
|
||||||
|
formatRpKontribusi = totalProduk2 * harga;
|
||||||
|
|
||||||
mapResult2.put("totalKonsul", totalKonsul2.longValue());
|
mapResult2.put("totalKonsul", totalKonsul2.longValue());
|
||||||
mapResult2.put("totalVisit", totalVisit2.longValue());
|
mapResult2.put("totalVisit", totalVisit2.longValue());
|
||||||
@ -3210,6 +3214,7 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK
|
|||||||
mapResult2.put("datas", datas2);
|
mapResult2.put("datas", datas2);
|
||||||
mapResult2.put("poin", point);
|
mapResult2.put("poin", point);
|
||||||
mapResult2.put("pointQty", formatPointQty);
|
mapResult2.put("pointQty", formatPointQty);
|
||||||
|
mapResult2.put("kontribusi", formatRpKontribusi);
|
||||||
|
|
||||||
result.add(mapResult2);
|
result.add(mapResult2);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user