Use in letters

Once this is configured, the map with additional information for the letters is extended by the following fields which can be used as variables in the letter templates:

  • OrderedByUser: the user ID of the user who ordered the new token (typically an administrator, or null if it was automatically ordered).
  • OrderedOnDateObject: the date of when the new token was ordered, as a java Date objects. This can be used in plugins that allow for configurable and/or location-specific date formatting.
  • OrderedOnDateString: the order date formatted as a string "dd.MM.yyyy", e.g. "27.03.2013".
  • OrderedOnDateTimeString: the order date and time formatted as a string "dd.MM.yyyy hh:mm", e.g. "27.03.2013 10:16".