zwxi 1 år sedan
förälder
incheckning
c5f79ee01a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      controller/census/seller.go

+ 1 - 1
controller/census/seller.go

@@ -1171,7 +1171,7 @@ func (this *SellerController) GroupInvoiceListV2(c *gin.Context) {
 			amuont, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", v), 64)
 
 			groupName := ""
-			if groupItem, ok := groupMap[k]; ok {
+			if groupItem, ok := groupMap[groupId]; ok {
 				groupName = groupItem.GroupName
 			}
 			list = append(list, &fms.CensusSellerGroupInvoiceItem{