ziwen 2 yıl önce
ebeveyn
işleme
c6c15ab18a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

@@ -724,7 +724,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])
 		}
 	}