Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1926

Add option to PDF certificate generation to calculate relative dates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.4.8
    • Component/s: Course
    • Labels:
      None

      Description

      Certificates usually have an expiration date relative to the certification date. A new formatter method should allow calculating such a relative date in the certificate generation process.

      Note: this is only available when generating certificates using the phantomjs method, it is not possible to do dynamic calculations in the PDF-Forms method.

      • Implement a formatter method with the option to add a relative date information (days, month, years)
      • Make the formatter available in the phantomjs velocity context during certificate generation
      • Add info about how to use this to manual

        Attachments

          Activity

            People

            Assignee:
            dfurrer Dirk Furrer
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m