Add project hours and enhance hours overview with short, SAP link and city flag #19
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!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/add-hours-field-and-navigation-for-projects"
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(clickable to the project) andCitywith flag to match the customer display.Description
2024_10_15_000001_add_hours_to_projects_table.phpto add a nullable unsignedhourscolumn to theprojectstable.Projectmodel files (app/Models/Project.phpandapp/Models/Base/Project.php) to casthoursand includehoursin the$fillablemetadata.hoursfrom the project creation form inProjectsController::storeand added a numerichoursinput inresources/views/projects/add.blade.php.HoursController::index, registered thehours.indexroute and navigation link, and created/updatedresources/views/hours/index.blade.phpto show finished projects for the selected year withShort,SAP(linked toprojects.view), andCity(flag + name) columns.Testing
/hoursand saved a screenshot after the initial implementation, and it completed successfully.Short/SAP/City) and it completed successfully, producing an updated screenshot.Codex Task
ok