Interface: ContractorPayEstimate
Defined in: src/server/services/payroll.ts:419
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:423
Sum of bi-monthly contract rates (centavos) across assignments.
facilityName
readonlyfacilityName:string|null
Defined in: src/server/services/payroll.ts:420
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:425
Total credited holiday hours (in-house admins only), rounded to 2 dp.
hoursWorked
readonlyhoursWorked:number
Defined in: src/server/services/payroll.ts:424
Total payable hours logged so far across assignments, rounded to 2 dp.
ratio
readonlyratio:number
Defined in: src/server/services/payroll.ts:427
Paid fraction = totalCentavos / bimonthlyRateCentavos (0 when the rate is 0).
serviceType
readonlyserviceType:string|null
Defined in: src/server/services/payroll.ts:421
Always null here; reserved for callers that join service metadata.
totalCentavos
readonlytotalCentavos:number
Defined in: src/server/services/payroll.ts:426
Estimated total payout across assignments, in centavos.
weeklyContractedHours
readonlyweeklyContractedHours:number
Defined in: src/server/services/payroll.ts:422
Sum of weekly contracted hours across the contractor's assignments.
weeks
readonlyweeks:SerializedWeek[]
Defined in: src/server/services/payroll.ts:428
Per-week serialized breakdown, concatenated across all assignments.