Uploaded image for project: 'ui-circulation'
  1. ui-circulation
  2. UICIRC-396

FE: Add hold shelf exp and request exp date/time tokens to patron notice templates

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 2.0.0
    • None
    • EPAM-Veg Sprint 30, EPAM-Veg Sprint 31
    • 1
    • Vega

    Description

      Given a patron notice template
      When { } icon for tokens is selected by user and modal is displaying a list of token options
      Then the following token options should be added:

      • request.holdShelfExpirationDateTime - placement is after request.holdShelfExpirationDate and before request.reasonForCancellation
      • request.requestExpirationDateTime - placement is after request.requestExpirationDate and before request.holdShelfExpirationDate

      Given a patron notice template in edit/create or view mode
      When an operator clicks on preview
      Then request.holdShelfExpirationDate or request.requestExpirationDate token placeholder values should be render as only date instead of date and time as follows:

      • request.holdShelfExpirationDate: Jun 30, 2020
      • request.requestExpirationDate: Mar 31, 2020

      Given a patron notice template in edit/create or view mode
      When an operator clicks on preview
      Then request.holdShelfExpirationDateTime or request.requestExpirationDateTime token placeholder values should be render as both date and time as follows:

      • request.holdShelfExpirationDate: Jun 30, 2020 23:59
      • request.requestExpirationDate: Mar 31, 2020 23:59

      Given a patron notice sent to a user or patron via email
      When request.holdShelfExpirationDate or request.requestExpirationDate tokens are referenced
      Then notice should render only date instead of date and time

      Given a patron notice sent to a user or patron via email
      When request.holdShelfExpirationDateTime or request.requestExpirationDateTime tokens are referenced
      Then notice should display both date and time

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                maxim_didenko Maxim Didenko
                dbranchini Darcy Branchini
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases