mirror of
https://github.com/skysyaz/timesheet-staging.git
synced 2026-07-14 08:40:51 +00:00
Employees can now attach supporting files (PDFs, images, office docs) to a project row on the Weekly hours page and view/download them when viewing a timesheet. - New timesheet_attachments table + TimesheetAttachment model with automatic file cleanup on delete and on parent timesheet deletion - Weekly hours grid: per-row upload/remove controls for editable saved rows, with existing attachments shown as downloadable chips - ViewTimesheet infolist: new Attachments section with download links - Authenticated download route authorized via TimesheetAccess so only users who can view a timesheet can fetch its files - Uploads validated for type (pdf/images/doc/xls/csv/txt) and size (10MB) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cwd7t8ySm9Kegxxfefmm69