Skip to main content

Function: describeLine()

describeLine(serviceType, contractorName, start, end): string

Defined in: src/lib/invoice/index.ts:204

Full line description, e.g. "MDS Assessor Services (5/10 to 5/16/2026) - Genesis Lanciola".

Parameters

serviceType

string | null

The service label (e.g. "MDS Assessor"); rendered as " Services". When null/blank, falls back to just "Services".

contractorName

string

The contractor's display name appended after the date range.

start

CalendarDate

The billing-period start date.

end

CalendarDate

The billing-period end date.

Returns

string

The composed line description string.