Quellcode durchsuchen

[Report] Update the formula of total project fee in finanical status report

master
cyril.tsui vor 1 Tag
Ursprung
Commit
248ed2fc37
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt Datei anzeigen

@@ -558,7 +558,7 @@ open class ReportService(

val totalFeeCell = row.createCell(8)
val totalFee =
(item["expectedTotalFee"]?.let { it as Double } ?: 0.0)
(item["expectedTotalFee"]?.let { it as Double } ?: 0.0) - (item["subContractFee"]?.let { it as Double } ?: 0.0)
totalFeeCell.apply {
setCellValue(totalFee)
cellStyle.dataFormat = accountingStyle
@@ -567,7 +567,7 @@ open class ReportService(
// val fee = (item["expectedTotalFee"]?.let { it as Double } ?: 0.0) - (item["subContractFee"]?.let { it as Double }
// ?: 0.0)

val fee = (item["expectedTotalFee"]?.let { it as Double } ?: 0.0)
val fee = (item["expectedTotalFee"]?.let { it as Double } ?: 0.0) - (item["subContractFee"]?.let { it as Double } ?: 0.0)

val budgetCell = row.createCell(9)
budgetCell.apply {


Laden…
Abbrechen
Speichern