brotherton-erpnext/erpnext/hr/notification/training_scheduled/training_scheduled.md
2021-06-16 14:08:32 +05:30

1.9 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) }}
  • {% if doc.is_mandatory %}
  • {{ _("Note: This Training Event is mandatory") }}
  • {% endif %}