Skip to main content

Function: addHealthAllowanceItem()

addHealthAllowanceItem(paymentId): Promise<HealthAllowanceItemState>

Defined in: src/server/actions/healthAllowance.ts:32

Owner-only: add the standard health allowance to ONE draft payment as a payment_adjustment (kind allowance, configured amount). The per-contractor counterpart of the bulk apply — the owner decides who gets it, right inside that contractor's Misc pay items. Idempotent per payment; refuses once the payment is disbursed or the run is no longer a draft.

Parameters

paymentId

string

Returns

Promise<HealthAllowanceItemState>