Explorar o código

Merge branch '2.4' into debug

ziwen %!s(int64=2) %!d(string=hai) anos
pai
achega
cdbeaacfc3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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])
 		}
 	}