Add project hours, hours overview page, and default current-year selector #20
No reviewers
Labels
No labels
bug
codex
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ryg/itsdb!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/add-hours-field-and-navigation-for-projects-xrtmjv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
Short/SAP/CityandHours.Description
2024_10_15_000001_add_hours_to_projects_table.phpto add a nullable unsignedhourscolumn to theprojectstable.app/Models/Base/Project.phpandapp/Models/Project.phpto casthoursand includehoursin the$fillablemetadata.hoursfrom the create form inProjectsController::storeand added a numerichoursinput toresources/views/projects/add.blade.php.HoursController::index(with default-year logic inapp/Http/Controllers/HoursController.php), registered thehours.indexroute, added a navigation link, and createdresources/views/hours/index.blade.phpwith a year selector and project hours table.Testing
/hoursand saved an initial screenshot which completed successfully.artifacts/hours-page-current-year.pngsuccessfully.Codex Task