Function: markInvoiceSent()
markInvoiceSent(
_prev,formData):Promise<LifecycleState>
Defined in: src/server/actions/invoices.ts:187
Owner-only: send a single draft invoice via the shared path (locks the week's approved entries + emails the billing contact + audits) — the same send_invoices flow as the cockpit's Review & send, so this button and the batch path never diverge. Soft/hard holds are surfaced as an error here (this single-shot button has no acknowledge UI — use the cockpit to override unapproved hours).
Parameters
_prev
formData
FormData
Returns
Promise<LifecycleState>