Function: computeSupplementalLines()
computeSupplementalLines(
inputs,periodStart,periodEnd):SupplementalComputation
Defined in: src/lib/invoice/supplemental.ts:69
Compute the supplemental's lines for a drifted week. Pure — no I/O.
Parameters
inputs
readonly SupplementalLineInput[]
Per-assignment facts (one per PARENT line item; see SupplementalLineInput).
periodStart
The family's billing-week start (the parent's, printed in descriptions).
periodEnd
The family's billing-week end.
Returns
Positive-delta lines only, sorted by contractor name, and their summed totalCents.
An empty lines array means the family is clear — there is nothing to supplement.