Skip to content

Commit

Permalink
feat: created a weekly holiday notification (Bloomstack#1372)
Browse files Browse the repository at this point in the history
* feat: created a weekly holiday notification

* fix: made the table for holidays, removed the validation for saturday or sunday

* fix: condition to get only valid holiday lists

* fix: fixed sider issue

* fix: added a enabled field for the holiday list

* fixchannged the string formation for email

* fix: indentation fixed

* fix: moved the enabled field to top
  • Loading branch information
nehasacher143 authored and shruti2323 committed Jul 6, 2021
1 parent eb63bd2 commit 05481ca
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 379 deletions.
3 changes: 3 additions & 0 deletions erpnext/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@
"erpnext.accounts.deferred_revenue.convert_deferred_revenue_to_income",
"erpnext.accounts.deferred_revenue.convert_deferred_expense_to_expense",
"erpnext.hr.utils.allocate_earned_leaves"
],
"weekly": [
"erpnext.hr.doctype.holiday_list.holiday_list.send_holiday_notification"
]
}

Expand Down
Loading

0 comments on commit 05481ca

Please sign in to comment.