[rename] Email Alert -> Notification
This commit is contained in:
parent
c3d1353ab5
commit
1198d94904
@ -1,28 +0,0 @@
|
||||
{
|
||||
"attach_print": 0,
|
||||
"condition": "doc.auto_created",
|
||||
"creation": "2018-04-25 14:19:05.440361",
|
||||
"days_in_advance": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Email Alert",
|
||||
"document_type": "Fiscal Year",
|
||||
"enabled": 1,
|
||||
"event": "New",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<h3>{{_(\"Fiscal Year\")}}</h3>\n\n<p>{{ _(\"New fiscal year created :- \") }} {{ doc.name }}</p>",
|
||||
"modified": "2018-04-25 14:30:38.588534",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Notification for new fiscal year",
|
||||
"owner": "Administrator",
|
||||
"recipients": [
|
||||
{
|
||||
"email_by_role": "Accounts User"
|
||||
},
|
||||
{
|
||||
"email_by_role": "Accounts Manager"
|
||||
}
|
||||
],
|
||||
"subject": "Notification for new fiscal year {{ doc.name }}"
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
{
|
||||
"attach_print": 0,
|
||||
"condition": "doc.auto_created",
|
||||
"creation": "2018-04-25 14:19:05.440361",
|
||||
"days_in_advance": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Notification",
|
||||
"document_type": "Fiscal Year",
|
||||
"enabled": 1,
|
||||
"event": "New",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<h3>{{_(\"Fiscal Year\")}}</h3>\n\n<p>{{ _(\"New fiscal year created :- \") }} {{ doc.name }}</p>",
|
||||
"modified": "2018-04-25 14:30:38.588534",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Notification for new fiscal year",
|
||||
"owner": "Administrator",
|
||||
"recipients": [
|
||||
{
|
||||
"email_by_role": "Accounts User"
|
||||
},
|
||||
{
|
||||
"email_by_role": "Accounts Manager"
|
||||
}
|
||||
],
|
||||
"subject": "Notification for new fiscal year {{ doc.name }}"
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{
|
||||
"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 }}"
|
||||
}
|
26
erpnext/hr/notification/retention_bonus/retention_bonus.json
Normal file
26
erpnext/hr/notification/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": "Notification",
|
||||
"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 }}"
|
||||
}
|
@ -1,24 +1,24 @@
|
||||
{
|
||||
"attach_print": 0,
|
||||
"creation": "2017-08-11 03:17:11.769210",
|
||||
"days_in_advance": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Email Alert",
|
||||
"document_type": "Training Result",
|
||||
"enabled": 1,
|
||||
"event": "Submit",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<h3>{{_(\"Training Event\")}}</h3>\n<p>{{ message }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: <a href=\"{{ event_link }}\">{{ name }}</a>\n<br>{{_(\"Event Location\")}}: {{ location }}\n<br>{{_(\"Start Time\")}}: {{ start_time }}\n<br>{{_(\"End Time\")}}: {{ end_time }}\n<br>{{_(\"Attendance\")}}: {{ attendance }}\n",
|
||||
"modified": "2017-08-11 04:26:58.194793",
|
||||
"modified_by": "Administrator",
|
||||
"module": "HR",
|
||||
"name": "Training Feedback",
|
||||
"owner": "Administrator",
|
||||
"attach_print": 0,
|
||||
"creation": "2017-08-11 03:17:11.769210",
|
||||
"days_in_advance": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Notification",
|
||||
"document_type": "Training Result",
|
||||
"enabled": 1,
|
||||
"event": "Submit",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<h3>{{_(\"Training Event\")}}</h3>\n<p>{{ message }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: <a href=\"{{ event_link }}\">{{ name }}</a>\n<br>{{_(\"Event Location\")}}: {{ location }}\n<br>{{_(\"Start Time\")}}: {{ start_time }}\n<br>{{_(\"End Time\")}}: {{ end_time }}\n<br>{{_(\"Attendance\")}}: {{ attendance }}\n",
|
||||
"modified": "2017-08-11 04:26:58.194793",
|
||||
"modified_by": "Administrator",
|
||||
"module": "HR",
|
||||
"name": "Training Feedback",
|
||||
"owner": "Administrator",
|
||||
"recipients": [
|
||||
{
|
||||
"email_by_document_field": "employee_emails"
|
||||
}
|
||||
],
|
||||
],
|
||||
"subject": "Please Share your Feedback For {{ doc.training_event }}"
|
||||
}
|
@ -1,24 +1,24 @@
|
||||
{
|
||||
"attach_print": 0,
|
||||
"creation": "2017-08-11 03:13:40.519614",
|
||||
"days_in_advance": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Email Alert",
|
||||
"document_type": "Training Event",
|
||||
"enabled": 1,
|
||||
"event": "Submit",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<h3>{{_(\"Training Event\")}}</h3>\n\n<p>{{ doc.introduction }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}\n<br>{{_(\"Event Location\")}}: {{ doc.location }}\n<br>{{_(\"Start Time\")}}: {{ doc.start_time }}\n<br>{{_(\"End Time\")}}: {{ doc.end_time }}\n",
|
||||
"attach_print": 0,
|
||||
"creation": "2017-08-11 03:13:40.519614",
|
||||
"days_in_advance": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Notification",
|
||||
"document_type": "Training Event",
|
||||
"enabled": 1,
|
||||
"event": "Submit",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"message": "<h3>{{_(\"Training Event\")}}</h3>\n\n<p>{{ doc.introduction }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}\n<br>{{_(\"Event Location\")}}: {{ doc.location }}\n<br>{{_(\"Start Time\")}}: {{ doc.start_time }}\n<br>{{_(\"End Time\")}}: {{ doc.end_time }}\n",
|
||||
"modified": "2017-08-13 22:49:42.338881",
|
||||
"modified_by": "Administrator",
|
||||
"module": "HR",
|
||||
"name": "Training Scheduled",
|
||||
"owner": "Administrator",
|
||||
"module": "HR",
|
||||
"name": "Training Scheduled",
|
||||
"owner": "Administrator",
|
||||
"recipients": [
|
||||
{
|
||||
"email_by_document_field": "employee_emails"
|
||||
}
|
||||
],
|
||||
],
|
||||
"subject": "Training Scheduled: {{ doc.name }}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user