Uploaded image for project: 'VPMS Web Application'
  1. OVPMS-1935

Add support to the letterhead facility for a logo URL

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects versions: 2.0
    • Fix versions: 2.0
    • Components: Reporting
    • Labels:
      None
    • Sprint:

      Description

      The letterhead record currently contains the name of the logo file. It is typically used by jaspersoft document templates that need to insert a location-dependent logo into a document.

      However, if one is creating a email template, then what is needed is the URL needed to access the logo rather than the name of the file containing it.

      Inserting the node logoFileHTML after the existing logoFile node provides the facility, ie

      <node name="companyID" displayName="Company Tax ID" type="java.lang.String"
      path="/details/companyID"/>
      <node name="logoFile" displayName="Logo File" path="/details/logoFile"
      type="java.lang.String" minCardinality="1" maxLength="240"/>
      <node name="logoFileHTML" displayName="HTML Logo URL" path="/details/logoFileHTML"
      type="java.lang.String" maxLength="240"/>
      <node name="contacts" displayName="Contacts Source" path="/entityLinks"
      type="java.util.HashSet" baseName="EntityLink" minCardinality="0" maxCardinality="1"
      filter="entityLink.letterheadContacts"/>

      Note that the new node is intentionally not mandatory.

        Attachments

          Activity

            People

            • Assignee:
              tanderson Tim Anderson
              Reporter:
              removed Tim Gething (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?