Procházet zdrojové kódy

Merge branch '2.4' into debug

ziwen před 2 roky
rodič
revize
cdbeaacfc3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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])
 		}
 	}