Skip to content

Conversation

@saikrishnaraoyadagiri
Copy link

Description

image image

Related PRS (if any):

Main changes explained:

  • Created laborHoursDistributionController.js
  • Created laborHours.js
  • Create laborHoursDistributionRouter.js
  • Updated routes.js

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. Go to postman to test the backend
  5. hit the url to get the data : http://localhost:4500/api/labor-hours/distribution?start_date=2024-01-18&end_date=2024-12-31
  6. it should display the data according to the dates selected from the laborhours collection
  7. validate the data in collection and data showing in postman, it should be same
  8. validate the data with optional field of category

Screenshots or videos of changes:

image image

@saikrishnaraoyadagiri saikrishnaraoyadagiri changed the title feat: add labor hours distribution backend SaiKrisna_add labor hours distribution backend Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants