Interface: ContractorPayEstimate
Defined in: src/server/services/payroll.ts:315
A contractor's own estimated pay for a period (for the contractor dashboard), summed across all of their rate-bearing assignments — matching how the period close would pay them.
Remarks
Money fields are PHP integer centavos; hour fields are rounded to 2 dp. For a multi-assignment
contractor, bimonthlyRateCentavos and weeklyContractedHours are the totals across assignments.
Properties
bimonthlyRateCentavos
readonlybimonthlyRateCentavos:number
Defined in: src/server/services/payroll.ts:319
Sum of bi-monthly contract rates (centavos) across assignments.
facilityName
readonlyfacilityName:string|null
Defined in: src/server/services/payroll.ts:316
The single facility's name, or the literal 'Multiple facilities' when the
contractor has more than one assignment in the period (null if the lone facility is unknown).
holidayHours
readonlyholidayHours:number
Defined in: src/server/services/payroll.ts:321
Total credited holiday hours (in-house admins only), rounded to 2 dp.
hoursWorked
readonlyhoursWorked:number
Defined in: src/server/services/payroll.ts:320
Total payable hours logged so far across assignments, rounded to 2 dp.
ratio
readonlyratio:number
Defined in: src/server/services/payroll.ts:323
Paid fraction = totalCentavos / bimonthlyRateCentavos (0 when the rate is 0).
serviceType
readonlyserviceType:string|null
Defined in: src/server/services/payroll.ts:317
Always null here; reserved for callers that join service metadata.
totalCentavos
readonlytotalCentavos:number
Defined in: src/server/services/payroll.ts:322
Estimated total payout across assignments, in centavos.
weeklyContractedHours
readonlyweeklyContractedHours:number
Defined in: src/server/services/payroll.ts:318
Sum of weekly contracted hours across the contractor's assignments.
weeks
readonlyweeks:SerializedWeek[]
Defined in: src/server/services/payroll.ts:324
Per-week serialized breakdown, concatenated across all assignments.