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

Aged to lost billed date should be based on when item was aged to lost

    XMLWordPrintable

Details

    • Core: F - Sprint 98, Core: F - Sprint 99
    • 3
    • Prokopovych
    • Q3 2020

    Description

      In the Lost Item Fee Policy, the aged to lost settings are written such that the patron is supposed to be billed 'X intervals' after the item is aged to lost. If a library bills 1 week after an item is aged to lost, and the item was aged to lost on September 1, it should be billed on September 8 (or as soon as the batch aged to lost billing process runs after that date).

      After talking to Bohdan, I learned that...

      Currently the aged to lost billed date is being calculated as:

      dateLostItemShouldBeBilled = loanDueDate + agedToLostAfterOverduePeriod + patronBilledAfterAgedToLost.

      When it should be calculated as:

      dateLostItemShouldBeBilled = agedToLostDate + patronBilledAfterAgedToLost

      (This was discovered when testing CIRC-877, so see the 'Comments' and attached test plan in CIRC-877 for more details.)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bohdan-suprun Bohdan Suprun
                hollyolepm Holly Mistlebauer
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases