FEAT[BE[: add avg weight and avg amount on get penjualan harian

This commit is contained in:
aguhh18
2026-01-20 22:10:47 +07:00
parent aa4da68680
commit dd4dcc1c39
2 changed files with 118 additions and 180 deletions
@@ -181,7 +181,7 @@ func (s *repportService) GetMarketing(c *fiber.Ctx, params *validation.Marketing
}
}
items := dto.ToRepportMarketingItemDTOsWithHppMap(deliveryProducts, hppMap)
items := dto.ToMarketingReportItems(deliveryProducts, hppMap)
return items, total, nil
}