Interface: WeekPayResult
Defined in: src/lib/pay/index.ts:147
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:159
The week's full-time-equivalent expectation (the denominator of ratio).
allocatedCentavos
readonlyallocatedCentavos:Centavos
Defined in: src/lib/pay/index.ts:165
This row's share of the bi-monthly rate before applying ratio (PHP Centavos).
days
readonlydays:number
Defined in: src/lib/pay/index.ts:153
Calendar days in [start, end] inclusive (7 for a whole settling week).
end
readonlyend:CalendarDate
Defined in: src/lib/pay/index.ts:151
Inclusive span end (Sunday for an outsourced week; period/active-window end otherwise).
holidayHours
readonlyholidayHours:number
Defined in: src/lib/pay/index.ts:157
Approved PTO hours credited in this span (always 0 for outsourced rows).
hoursWorked
readonlyhoursWorked:number
Defined in: src/lib/pay/index.ts:155
Hours actually worked in this span (sum of overlapping PayTimeEntry hours).
overageApproved
readonlyoverageApproved:boolean
Defined in: src/lib/pay/index.ts:163
True when this week's hours-over-contracted were paid because overage was approved.
payCentavos
readonlypayCentavos:Centavos
Defined in: src/lib/pay/index.ts:167
Final pay for this row in PHP Centavos (= allocatedCentavos × ratio, rounded).
ratio
readonlyratio:number
Defined in: src/lib/pay/index.ts:161
Worked ÷ full-time expectation. May exceed 1 for an approved-overage week.
start
readonlystart:CalendarDate
Defined in: src/lib/pay/index.ts:149
Inclusive span start (Monday for an outsourced week; period/active-window start otherwise).