adjust total bobot laporan keuangan

This commit is contained in:
giovanni
2026-06-08 12:37:39 +07:00
parent 217f35b250
commit 9ab4e1a6ef
@@ -83,7 +83,7 @@ func ToMarketingReportItems(mdps []entity.MarketingDeliveryProduct, hppByDeliver
realizationDate = *mdp.DeliveryDate realizationDate = *mdp.DeliveryDate
} }
totalWeightKg := mdp.UsageQty * mdp.AvgWeight totalWeightKg := mdp.TotalWeight
salesAmount := totalWeightKg * mdp.UnitPrice salesAmount := totalWeightKg * mdp.UnitPrice
var hpp float64 var hpp float64