zwxi 1 tahun lalu
induk
melakukan
ba3d7eafdd
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      controller/census/invoice_payment.go

+ 1 - 1
controller/census/invoice_payment.go

@@ -1806,7 +1806,7 @@ func (ct *InvoicePaymentController) NotInvoiceList(c *gin.Context) {
 				if v.InvoicedAmount >= v.PaymentAmount {
 					invoiceTotal += v.InvoicedAmount
 				} else if v.InvoicedAmount == 0 {
-					invoiceTotal += v.PaymentOrigin
+					invoiceTotal += v.PaymentAmount
 				}
 				rate := v.RMBRate
 				if rate == 0.0 {