Browse Source

Merge branch '2.4' into debug

ziwen 2 years ago
parent
commit
cdbeaacfc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

@@ -725,7 +725,7 @@ func (rg *RegisterController) Detail(c *gin.Context) {
 			result.InvoiceList = append(result.InvoiceList, invoiceList[i])
 			continue
 		}
-		if invoiceList[i].InvoiceType == fms.ContractInvoiceTypePay {
+		if invoiceList[i].InvoiceType == fms.ContractInvoiceTypePay || invoiceList[i].InvoiceType == fms.ContractInvoiceTypePrePay {
 			result.PaymentList = append(result.PaymentList, invoiceList[i])
 		}
 	}