- Updated the timesheet import route to support optional metadata fields for site linking and auto-creation of missing employees. - Enhanced parsing to detect multiple file formats, including Hills Casual Matrix and long-format CSV/XLSX. - Modified response structure to include detected format and created employees in the JSON response. - Improved UI components to allow project selection and options for creating new workers during import. - Refactored import logic to ensure a seamless user experience when handling timesheet uploads. |
||
|---|---|---|
| .. | ||
| data-import-batches/[id] | ||
| delivery-notes/upload | ||
| fuel-logs/import | ||
| health | ||
| purchase-orders | ||
| records/[collection]/[id]/verify | ||
| sites | ||
| timesheets/import | ||
| vehicles/[id] | ||