Sfoglia il codice sorgente

invoice

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi 1 anno fa
parent
commit
07fbd8b712
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/project/service/InvoiceService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/project/service/InvoiceService.kt Vedi File

@@ -88,7 +88,7 @@ open class InvoiceService(
val invoicePDF: JasperReport = JasperCompileManager.compileReport(inputStream) val invoicePDF: JasperReport = JasperCompileManager.compileReport(inputStream)


val projectDetailList = getProjectDetailsByMilestonePaymentId(req.id) val projectDetailList = getProjectDetailsByMilestonePaymentId(req.id)
val projectDetail = projectDetailList.get(0)
val projectDetail = projectDetailList[0]


val fields: MutableList<Map<String, Any>> = ArrayList() val fields: MutableList<Map<String, Any>> = ArrayList()
val fieldValue1: Map<String, Any> = mapOf( val fieldValue1: Map<String, Any> = mapOf(
@@ -100,7 +100,7 @@ open class InvoiceService(
fields.add(fieldValue1) fields.add(fieldValue1)


val invoiceInfoList = getInvoiceInfoByMilestonePaymentId(req.id) val invoiceInfoList = getInvoiceInfoByMilestonePaymentId(req.id)
val invoiceInfo = invoiceInfoList.get(0)
val invoiceInfo = invoiceInfoList[0]


val params: MutableMap<String, Any> = HashMap() val params: MutableMap<String, Any> = HashMap()
params["Client"] = invoiceInfo.getValue("client") params["Client"] = invoiceInfo.getValue("client")


Caricamento…
Annulla
Salva