Function: previewSupplemental()
previewSupplemental(
invoiceId):Promise<{ok:true;preview:SupplementalPreview; } | {error:string;ok:false; }>
Defined in: src/server/actions/invoiceManage.ts:314
Owner-only: preview the supplemental for a drifted invoice — the family's unbilled delta per
line, priced at the parent's frozen rates (ADR-0055). Read-only; feeds the "Bill late hours"
confirm dialog. Empty lines means the family is clear.
Parameters
invoiceId
string
Returns
Promise<{ ok: true; preview: SupplementalPreview; } | { error: string; ok: false; }>