Sfoglia il codice sorgente

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

master
cyril.tsui 21 ore fa
parent
commit
248ed2fc37
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 Vedi File

@@ -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 {


Caricamento…
Annulla
Salva