Преглед изворни кода

minor fix

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi пре 1 година
родитељ
комит
b410e6a418
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 1
- 1
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt Прегледај датотеку

@@ -3096,7 +3096,7 @@ open class ReportService(
val budget = (item["budget"] as? Double)?.times(0.8) ?: 0.0
val totalCumulativeExpenditure = (item["totalCumulativeExpenditure"] as? BigDecimal ?: 0.0).toDouble()
val budgetRemain = budget.minus(totalCumulativeExpenditure)
// val remainingPercent = (budgetRemain).div(budget)
val remainingPercent = (budgetRemain).div(budget)
// println("-----------------------------------${item["code"]}-------------------------------")
// println("budget: $budget")
// println("totalCumulativeExpenditure: $totalCumulativeExpenditure")


Loading…
Откажи
Сачувај