|
@@ -1457,7 +1457,9 @@
|
|
|
console.log(key);
|
|
|
if (map.has(key)) {
|
|
|
const existingObj = map.get(key)
|
|
|
- existingObj.totalGoal += obj.totalGoal
|
|
|
+ existingObj.totalGoal = parseFloat(existingObj.totalGoal)
|
|
|
+ existingObj.totalGoal += parseFloat(obj.totalGoal)
|
|
|
+ existingObj.totalGoal = existingObj.totalGoal.toFixed(2)
|
|
|
existingObj.januaryGoal += obj.januaryGoal
|
|
|
existingObj.februaryGoal += obj.februaryGoal
|
|
|
existingObj.marchGoal += obj.marchGoal
|