소스 검색

Merge branch '2.4' into debug

ziwen 2 년 전
부모
커밋
cdbeaacfc3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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])
 		}
 	}