소스 검색

update budget calculation

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi 1 년 전
부모
커밋
53636dd44b
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 4
- 1
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt 파일 보기

@@ -455,9 +455,12 @@ open class ReportService(
cellStyle.dataFormat = accountingStyle
}

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

val budgetCell = row.createCell(8)
budgetCell.apply {
cellFormula = "H${rowNum} * 80%"
setCellValue(fee.times(0.8))
cellStyle.dataFormat = accountingStyle
}



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