Function: capLateEntries()
capLateEntries(
entries,billedHours):object[]
Defined in: src/lib/invoice/supplemental.ts:76
Attribute billedHours to late entries oldest-first, so the dates a line names sum to exactly
what it bills. When late entries straddle the contracted cap only part of them bill; a list that
named them all would contradict the line's quantity on the PDF.
ponytail: oldest-first is a heuristic; the cap is per week, not per entry.
Parameters
entries
readonly object[]
billedHours
number
Returns
object[]