|
@@ -455,9 +455,12 @@ open class ReportService( |
|
|
cellStyle.dataFormat = accountingStyle |
|
|
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) |
|
|
val budgetCell = row.createCell(8) |
|
|
budgetCell.apply { |
|
|
budgetCell.apply { |
|
|
cellFormula = "H${rowNum} * 80%" |
|
|
|
|
|
|
|
|
setCellValue(fee.times(0.8)) |
|
|
cellStyle.dataFormat = accountingStyle |
|
|
cellStyle.dataFormat = accountingStyle |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|