Function: importHoursCsv()
importHoursCsv(
_prev,formData):Promise<HoursCsvImportState>
Defined in: src/server/actions/timesheetCsv.ts:21
Owner-only generic CSV import for outsourced contractors' hours (non-Hubstaff). Expects a header
row with email, date (YYYY-MM-DD), and hours (or time as HH:MM:SS). Rows map to contractors
by email, scoped to the admin's company. In-house-admin rows are skipped (Hubstaff-sourced).
Parameters
_prev
formData
FormData
Returns
Promise<HoursCsvImportState>