Skip to main content

Function: loadPayrollView()

loadPayrollView(companyId): Promise<PayrollView>

Defined in: src/server/services/payrollView.ts:49

Shared loader for the payroll tabs: every batch for the company plus its payments, misc adjustments, and the contractor name / Wise-recipient lookups each tab renders. One place so the Calculate and Process & Pay routes stay in sync.

Parameters

companyId

string

Returns

Promise<PayrollView>