Function: buildPayrollInsights()
buildPayrollInsights(
payments,nameOf):PayrollInsightsData
Defined in: src/lib/payroll/insights.ts:88
Group saved payments into pay periods (by stored period_start|period_end), newest first.
Parameters
payments
readonly InsightPaymentInput[]
nameOf
(contractorId) => string