Email Alert for Retention Bonus
This commit is contained in:
parent
bb629de49b
commit
7d394c14ce
0
erpnext/hr/email_alert/retention_bonus/__init__.py
Normal file
0
erpnext/hr/email_alert/retention_bonus/__init__.py
Normal file
26
erpnext/hr/email_alert/retention_bonus/retention_bonus.json
Normal file
26
erpnext/hr/email_alert/retention_bonus/retention_bonus.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"attach_print": 0,
|
||||
"condition": "doc.docstatus==1",
|
||||
"creation": "2018-05-15 18:52:36.362838",
|
||||
"date_changed": "bonus_payment_date",
|
||||
"days_in_advance": 14,
|
||||
"docstatus": 0,
|
||||
"doctype": "Email Alert",
|
||||
"document_type": "Retention Bonus",
|
||||
"enabled": 1,
|
||||
"event": "Days Before",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<p>{{ _(\"Hello\") }},</p>\n\n<p> {{ _(\"Retention Bonus for\") }} {{ doc.employee_name }} {{ _(\"due on\") }} {{ doc.bonus_payment_date }}</p>",
|
||||
"modified": "2018-05-15 19:00:24.294418",
|
||||
"modified_by": "ranjith@earthianslive.com",
|
||||
"module": "HR",
|
||||
"name": "Retention Bonus",
|
||||
"owner": "ranjith@earthianslive.com",
|
||||
"recipients": [
|
||||
{
|
||||
"email_by_role": "HR Manager"
|
||||
}
|
||||
],
|
||||
"subject": "Retention Bonus alert for {{ doc.employee }}"
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
<p>{{ _("Hello") }},</p>
|
||||
|
||||
<p> {{ _("Retention Bonus for") }} {{ doc.employee_name }} {{ _("due on") }} {{ doc.bonus_payment_date }}</p>
|
@ -0,0 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import frappe
|
||||
|
||||
def get_context(context):
|
||||
# do your magic here
|
||||
pass
|
Loading…
x
Reference in New Issue
Block a user