Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Holiday tables, models and controller#1451

Merged
prasanthchaduvula merged 15 commits intodevelopfrom
holiday-tables-schema
Sep 27, 2023
Merged

Holiday tables, models and controller#1451
prasanthchaduvula merged 15 commits intodevelopfrom
holiday-tables-schema

Conversation

@apoorv1316
Copy link
Collaborator

@apoorv1316 apoorv1316 commented Aug 25, 2023

Notion:

https://www.notion.so/saeloun/6afc9500b2cc42af86be55f37894fb09?v=b4528f26f4424af7beaf036262796cb3&p=2046f632b29c4be9b1d63ce66c935523&pm=s

What

  • Created holiday and holiday_infos tables and models.
  • Added scope to fetch the holidays for a given year and category.
  • Added bulk holiday operations service
Screenshot 2023-09-06 at 12 59 01 PM

@apoorv1316 apoorv1316 self-assigned this Aug 25, 2023
@apoorv1316 apoorv1316 changed the title Holiday tables and models Holiday tables ,models and controller Sep 4, 2023
@apoorv1316 apoorv1316 changed the title Holiday tables ,models and controller Holiday tables, models and controller Sep 4, 2023
@prasanthchaduvula
Copy link
Contributor

@apoorv1316 Add controller level and service test cases

@prasanthchaduvula
Copy link
Contributor

@apoorv1316 Please resolve conflicts

@prasanthchaduvula prasanthchaduvula merged commit 4c6768b into develop Sep 27, 2023
@prasanthchaduvula prasanthchaduvula deleted the holiday-tables-schema branch September 27, 2023 06:10
vipulnsward pushed a commit that referenced this pull request Feb 15, 2026
* add holiday tables and models

* Add company ref to holidays

* Add create for holidays

* index action for holidays

* holiday operations service

* add time_period for optional holidays

* change enum types

* add validation for name & year

* add tests

* refactored holidays controller, service and index jbuilder

* Integrated the holidays api to add, update and remove holidays along with holidays infos

* fixed holidays service specs

---------

Co-authored-by: “Apoorv <“[email protected]”>
Co-authored-by: Prasanth Chaduvula <[email protected]>
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

Comments