Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-886

Truncate due date based on patron expiration at check out

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 22.0.0
    • None
    • EPAM-Veg Sprint 100, EPAM-Veg Sprint 111, EPAM-Veg Sprint 112, EPAM-Veg Sprint 113, EPAM-Veg Sprint 114, EPAM-Veg Sprint 115
    • 5
    • Vega
    • High

    Description

      Purpose: When CHECKING OUT an item, don't allow items to be due after the patron has expired.

      Scenarios

      1. Scenario - Summary of scenarios below
        • Given a CHECK OUT for an item for a user with an expiration date X
        • When the calculated due date according to the circulation rule is date Y, after X
        • Then truncate the item’s due date and time to the latest date and time where the service point is open, and the user is not expired
      2. Scenario
        • Given a CHECK OUT for an active user with an expiration date, and triggering a loan policy with closed library due date management set to one of the following:
          • Move to the end of the previous open day
          • Move to end of next open day
        • When the calculated due date, factoring in closed library due date management, is AFTER the patron's expiration date
        • Then truncate the due date to the end of the last open day before the patron expires
        • NOTE: When the calculated due date, factoring in closed library due date management, is BEFORE the patron's expiration date, then the due date will be the end of the previous open day OR the end of the next open day (in other words, there's no change to the existing logic).
      3. Scenario
        • Given a CHECK OUT for an active user with an expiration date, and triggering a loan policy with closed library due date management set to one of the following:
          • Keep the current due date
          • Keep the current due date/time
        • When the calculated due date, factoring in closed due date management, is AFTER the patron's expiration date
        • Then truncate the due date to the patron's expiration date and time
        • NOTE: When the calculated due date, factoring in closed library due date management, is BEFORE the patron's expiration date, then the due date will be the current due date OR the current due date/time (in other words, there's no change to the existing logic).
      4. Scenario
        • Given a CHECK OUT for an active user with an expiration date, and triggering a loan policy with closed library due date management set to one of the following:
          • Move to the end of the current service point hours
          • Move to beginning of next open service point hours
        • When the calculated due date/time, factoring in closed library due date management, is AFTER the patron's expiration date
        • Then truncate the due date to the end of the last open service point hours before the patron expires
        • NOTE: When the calculated due date, factoring in closed library due date management, is BEFORE the patron's expiration date, then the due date will be the end of the current service point hours OR the beginning of the next open service point hours (in other words, there's no change to the existing logic).

      TestRail: Results

        Attachments

          1. screenshot-1.png
            screenshot-1.png
            76 kB
          2. screenshot-2.png
            screenshot-2.png
            70 kB
          3. Screen Shot 2021-06-03 at 9.02.01 AM.png
            Screen Shot 2021-06-03 at 9.02.01 AM.png
            266 kB
          4. screenshot-3.png
            screenshot-3.png
            94 kB
          5. screenshot-4.png
            screenshot-4.png
            62 kB
          6. screenshot-5.png
            screenshot-5.png
            44 kB
          7. screenshot-6.png
            screenshot-6.png
            26 kB
          8. screenshot-7.png
            screenshot-7.png
            45 kB
          9. screenshot-8.png
            screenshot-8.png
            29 kB
          10. trunc_exp_cmang.xlsx
            10 kB
          11. trunc_exp_cmang-1.xlsx
            13 kB
          12. trunc_exp_cmang-2.xlsx
            16 kB
          13. truncate loan - patron expiration .xlsx
            10 kB

          Issue Links

            Activity

              People

                roman-barannyk Roman Barannyk
                ecboettcher Emma Boettcher
                Cheryl Malmborg Cheryl Malmborg
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases