brotherton-erpnext/erpnext/hr/notification/training_scheduled/training_scheduled.md
2019-12-18 11:43:16 +05:30

1.7 KiB

{{_("Training Event:")}} {{ doc.event_name }}
{{ doc.introduction }}
  • {{_("Event Location")}}: {{ doc.location }}
  • {% set start = frappe.utils.get_datetime(doc.start_time) %} {% set end = frappe.utils.get_datetime(doc.end_time) %} {% if start.date() == end.date() %}
  • {{_("Date")}}: {{ start.strftime("%A, %d %b %Y") }}
  • {{_("Timing")}}: {{ start.strftime("%I:%M %p") + ' to ' + end.strftime("%I:%M %p") }}
  • {% else %}
  • {{_("Start Time")}}: {{ start.strftime("%A, %d %b %Y at %I:%M %p") }}
  • {{_("End Time")}}: {{ end.strftime("%A, %d %b %Y at %I:%M %p") }}
  • {% endif %}
  • {{ _('Event Link') }}: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}