Преглед изворни кода

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])
 		}
 	}