Quellcode durchsuchen

Update hourly Rate formula

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi vor 1 Jahr
Ursprung
Commit
b05ea8fc0a
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. +3
    -1
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

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

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

val cell4 = getCell(4) ?: createCell(4)
cell4.cellFormula =
"(((C{currentRow}+B{currentRow})/2)/20)/8".replace("{currentRow}", (rowIndex + 1).toString())
"(((C{currentRow}+B{currentRow})/2)/150)".replace("{currentRow}", (rowIndex + 1).toString())
// getCell(4).cellStyle.dataFormat = accountingStyle
cell4.cellStyle.dataFormat = accountingStyle
CellUtil.setAlignment(cell4, HorizontalAlignment.CENTER)
@@ -1941,6 +1941,7 @@ open class ReportService(
+ " select p.code, sum(i.issueAmount) as sumIssuedAmount , sum(i.paidAmount) as sumPaidAmount"
+ " from invoice i"
+ " left join project p on p.code = i.projectCode"
+ " where i.deleted = false "
+ " group by p.code"
+ " )"
+ " select p.code, p.description, c.name as client, IFNULL(s2.name, \"N/A\") as subsidiary, concat(t.code, \' - \', t.name) as teamLead, p.planStart , p.planEnd , p.expectedTotalFee, ifnull(p.subContractFee, 0) as subContractFee, "
@@ -2266,6 +2267,7 @@ open class ReportService(
+ " select p.code, sum(i.issueAmount) as sumIssuedAmount , sum(i.paidAmount) as sumPaidAmount"
+ " from invoice i"
+ " left join project p on p.code = i.projectCode"
+ " where i.deleted = false "
+ " group by p.code"
+ " )"
+ " select p.code, p.description, c.name as client, IFNULL(s2.name, \"N/A\") as subsidiary, concat(t.code, \" - \", t.name) as teamLead,"


Laden…
Abbrechen
Speichern