소스 검색

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

master
cyril.tsui 21 시간 전
부모
커밋
248ed2fc37
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 파일 보기

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


불러오는 중...
취소
저장