Interface: WeekPayResult
Defined in: src/lib/pay/index.ts:146
One settlement row in a PayBreakdown. For outsourced workers this is one settling ISO
Mon–Sun week; for in-house admins and mid-period offboards it is a single row spanning the whole
(active) period. payCentavos === roundHalfAwayFromZero(allocatedCentavos × ratio).
Properties
adjustedContractedHours
readonlyadjustedContractedHours:number
Defined in: src/lib/pay/index.ts:158
The week's full-time-equivalent expectation (the denominator of ratio).
allocatedCentavos
readonlyallocatedCentavos:Centavos
Defined in: src/lib/pay/index.ts:164
This row's share of the bi-monthly rate before applying ratio (PHP Centavos).
days
readonlydays:number
Defined in: src/lib/pay/index.ts:152
Calendar days in [start, end] inclusive (7 for a whole settling week).
end
readonlyend:CalendarDate
Defined in: src/lib/pay/index.ts:150
Inclusive span end (Sunday for an outsourced week; period/active-window end otherwise).
holidayHours
readonlyholidayHours:number
Defined in: src/lib/pay/index.ts:156
Approved PTO hours credited in this span (always 0 for outsourced rows).
hoursWorked
readonlyhoursWorked:number
Defined in: src/lib/pay/index.ts:154
Hours actually worked in this span (sum of overlapping PayTimeEntry hours).
overageApproved
readonlyoverageApproved:boolean
Defined in: src/lib/pay/index.ts:162
True when this week's hours-over-contracted were paid because overage was approved.
payCentavos
readonlypayCentavos:Centavos
Defined in: src/lib/pay/index.ts:166
Final pay for this row in PHP Centavos (= allocatedCentavos × ratio, rounded).
ratio
readonlyratio:number
Defined in: src/lib/pay/index.ts:160
Worked ÷ full-time expectation. May exceed 1 for an approved-overage week.
start
readonlystart:CalendarDate
Defined in: src/lib/pay/index.ts:148
Inclusive span start (Monday for an outsourced week; period/active-window start otherwise).