Skip to content

Commit

Permalink
docs(subs): doc next tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
GAlexIHU committed Feb 4, 2025
1 parent c397133 commit 3e04e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmeter/billing/worker/subscription/phaseiterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (it *PhaseIterator) GetMinimumBillableTime() time.Time {
return minTime
}

// TODO: rewrite so that periods are aligned!
// TODO[OM-1167]: We can generate Lines with Periods also aligned (instead now the invoicing happens at "some" time not-before period start)
func (it *PhaseIterator) Generate(iterationEnd time.Time) ([]subscriptionItemWithPeriod, error) {
out := []subscriptionItemWithPeriod{}
for _, itemsByKey := range it.phase.ItemsByKey {
Expand Down

0 comments on commit 3e04e75

Please sign in to comment.