add api bulk update status daily checklist; change hpp real to estimate

This commit is contained in:
giovanni
2026-04-20 16:08:43 +07:00
parent 5355fe0729
commit 916f1980e9
6 changed files with 200 additions and 3 deletions
@@ -2366,8 +2366,8 @@ func (s *repportService) GetHppPerKandang(ctx *fiber.Ctx) (*dto.HppPerKandangRes
}
if hppCost != nil {
eggPiecesFloatRemaining = hppCost.Estimation.Butir - hppCost.Real.Butir
// eggHpp = hppCost.Estimation.HargaKg
eggHpp = hppCost.Real.HargaKg
eggHpp = hppCost.Estimation.HargaKg
// eggHpp = hppCost.Real.HargaKg
eggTotalPiecesFloat = hppCost.Estimation.Butir
eggWeightFloat = hppCost.Estimation.Kg
if eggTotalPiecesFloat > 0 {