fix hasil produksi deplesi std dan filter recording approved

This commit is contained in:
giovanni
2026-02-04 13:51:55 +07:00
parent 22038533d7
commit 114f1a7c24
2 changed files with 23 additions and 1 deletions
@@ -398,6 +398,9 @@ func (s *repportService) GetProductionResult(ctx *fiber.Ctx, params *validation.
if detail != nil && detail.TargetMeanBw != nil {
weeklyResults[i].StdBw = *detail.TargetMeanBw
}
if detail != nil {
weeklyResults[i].DepStd = valueOrZero(detail.MaxDepletion)
}
}
}