Function: createManualTimeEntries()
createManualTimeEntries(
_prev,formData):Promise<ManualTimeEntriesState>
Defined in: src/server/actions/manualTimeEntry.ts:132
Owner-only: add (or correct) many days' hours for a contractor in one go — the "Create manual time entry" panel's Day-by-day grid and Total-hours modes, the Time & Activity page, and the invoice shelf's inline "Log hours" all post here. Resolves the contractor's active assignment and upserts each day approved (the owner is the approver, so it skips the pending gate), never clobbering a locked or already-approved day. Company-scoped (the service client bypasses RLS).
Parameters
_prev
formData
FormData
Returns
Promise<ManualTimeEntriesState>