mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-06-09 15:07:49 +00:00
add adjustment depresiasi calculation and percentage depresiasi
This commit is contained in:
@@ -103,8 +103,9 @@ func (s *hppV2RepoStub) GetDepreciationPercents(_ context.Context, houseTypes []
|
||||
|
||||
// GetMultiplicationPercentages — alias yang sama dengan GetDepreciationPercents untuk match
|
||||
// interface HppV2CostRepository (interface dipakai method name baru ini).
|
||||
func (s *hppV2RepoStub) GetMultiplicationPercentages(ctx context.Context, houseTypes []string, maxDay int) (map[string]map[int]float64, error) {
|
||||
return s.GetDepreciationPercents(ctx, houseTypes, maxDay)
|
||||
func (s *hppV2RepoStub) GetMultiplicationPercentages(ctx context.Context, houseTypes []string, maxDay int) (map[string]map[int]float64, map[string]*time.Time, error) {
|
||||
vals, err := s.GetDepreciationPercents(ctx, houseTypes, maxDay)
|
||||
return vals, make(map[string]*time.Time), err
|
||||
}
|
||||
|
||||
// GetChickinPopulationByPFKForFarm — return populasi per PFK dari satu project flock.
|
||||
|
||||
Reference in New Issue
Block a user