Browse Source

update project and invoice filter by team

add_swagger
MSI\derek 11 months ago
parent
commit
b1640dac3a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main/java/com/ffii/tsms/modules/project/service/InvoiceService.kt

+ 1
- 0
src/main/java/com/ffii/tsms/modules/project/service/InvoiceService.kt View File

@@ -336,6 +336,7 @@ open class InvoiceService(
val sql = StringBuilder( val sql = StringBuilder(
" select i.id, i.invoiceNo, i.projectCode, " + " select i.id, i.invoiceNo, i.projectCode, " +
" p.name as projectName, t.code as team, i.invoiceDate, " + " p.name as projectName, t.code as team, i.invoiceDate, " +
" t.id as teamId, " +
" concat(t.code, ' - ', t.name) as teamCodeName, " + " concat(t.code, ' - ', t.name) as teamCodeName, " +
" i.receiptDate, i.issueAmount , i.paidAmount " + " i.receiptDate, i.issueAmount , i.paidAmount " +
" from invoice i " + " from invoice i " +


Loading…
Cancel
Save