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

Change templateload to separate loading of documents and reports

    Details

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

      Description

      Change templateload to:

      • load documents and SQL reports from different files.
        This will make it easier for practices to upgrade SQL reports to the latest versions, without affecting customised document templates
      • make it easier to load templates
        Currently, the path to the template is required. Change it to allow commands like:
          templateload documents A5
        

        or:

          templateload reports A4
        

        Continue to allow custom template loads via path:

          templateload ~/myreports/custom-letter.xml
        
      • drop the .sh extension from templateload.sh
        By convention, .sh should only be added to scripts that are sourced from other scripts. In addition, it is slightly easier to document in the help.

        Attachments

          Activity

            People

            • Assignee:
              tanderson Tim Anderson
              Reporter:
              tanderson Tim Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 9h
                9h

                  Who's Looking?