zwxi 6 maanden geleden
bovenliggende
commit
32afbabf54
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      controller/census/invoice_payment.go

+ 1 - 1
controller/census/invoice_payment.go

@@ -1756,7 +1756,7 @@ func (ct *InvoicePaymentController) NotInvoiceList(c *gin.Context) {
 							}
 						}
 					} else {
-						list[i].NotInvoicedAmountOriginTotal, _ = strconv.ParseFloat(fmt.Sprintf("%.2f", list[i].NotInvoicedAmountTotal), 64)
+						list[i].NotInvoicedAmountOriginTotal, _ = strconv.ParseFloat(fmt.Sprintf("%.2f", list[i].NotInvoicedAmountOriginTotal), 64)
 					}
 					list[i].NotInvoicedAmountOriginTotal, _ = strconv.ParseFloat(fmt.Sprintf("%.2f", list[i].NotInvoicedAmountOriginTotal), 64)
 					list[i].NotInvoicedAmountTotal = v.NotInvoicedAmountOriginTotal / v.RMBRate