2017-08-11 12:01:42 +00:00
|
|
|
{
|
2018-06-14 07:48:21 +00:00
|
|
|
"attach_print": 0,
|
2019-12-18 06:13:16 +00:00
|
|
|
"channel": "Email",
|
|
|
|
"condition": "",
|
2018-06-14 07:48:21 +00:00
|
|
|
"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,
|
2019-12-18 06:13:16 +00:00
|
|
|
"message": "<table class=\"panel-header\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n <tr height=\"10\"></tr>\n <tr>\n <td width=\"15\"></td>\n <td>\n <div class=\"text-medium text-muted\">\n <span>{{_(\"Training Event:\")}} {{ doc.event_name }}</span>\n </div>\n </td>\n <td width=\"15\"></td>\n </tr>\n <tr height=\"10\"></tr>\n</table>\n\n<table class=\"panel-body\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n <tr height=\"10\"></tr>\n <tr>\n <td width=\"15\"></td>\n <td>\n <div>\n <ul class=\"list-unstyled\" style=\"line-height: 1.7\">\n <li>{{ doc.introduction }}</li>\n <li>{{_(\"Event Location\")}}: <b>{{ doc.location }}</b></li>\n {% set start = frappe.utils.get_datetime(doc.start_time) %}\n {% set end = frappe.utils.get_datetime(doc.end_time) %}\n {% if start.date() == end.date() %}\n <li>{{_(\"Date\")}}: <b>{{ start.strftime(\"%A, %d %b %Y\") }}</b></li>\n <li>\n {{_(\"Timing\")}}: <b>{{ start.strftime(\"%I:%M %p\") + ' to ' + end.strftime(\"%I:%M %p\") }}</b>\n </li>\n {% else %}\n <li>{{_(\"Start Time\")}}: <b>{{ start.strftime(\"%A, %d %b %Y at %I:%M %p\") }}</b>\n </li>\n <li>{{_(\"End Time\")}}: <b>{{ end.strftime(\"%A, %d %b %Y at %I:%M %p\") }}</b>\n </li>\n {% endif %}\n </ul>\n {{ _('Event Link') }}: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}\n </div>\n </td>\n <td width=\"15\"></td>\n </tr>\n <tr height=\"10\"></tr>\n</table>",
|
|
|
|
"modified": "2019-11-29 15:38:31.805409",
|
2017-10-20 06:01:15 +00:00
|
|
|
"modified_by": "Administrator",
|
2018-06-14 07:48:21 +00:00
|
|
|
"module": "HR",
|
|
|
|
"name": "Training Scheduled",
|
|
|
|
"owner": "Administrator",
|
2017-08-11 12:01:42 +00:00
|
|
|
"recipients": [
|
|
|
|
{
|
|
|
|
"email_by_document_field": "employee_emails"
|
|
|
|
}
|
2018-06-14 07:48:21 +00:00
|
|
|
],
|
2017-08-11 12:28:19 +00:00
|
|
|
"subject": "Training Scheduled: {{ doc.name }}"
|
2017-08-11 12:01:42 +00:00
|
|
|
}
|