Backend: Show most recent check in on item record

Description

Purpose: Show information about when an item was last scanned on the Inventory app. This functions as a record of when the physical item was last seen in the library (as opposed to when its status last changed or when the item record was last edited), which can be helpful for finding items that are missing.

  1. Scenario

    • Given an item

    • When viewing the item record in Inventory

    • Then an accordion called Circulation history

  2. Scenario

    • Given the Circulation history accordion

    • When open

    • Then:

      • show the Most recent check in heading

      • Fields:

        • Check in date

        • Service point

        • Source

  3. Scenario

    • Given the fields Check in date, Service point, and Source

    • When the item has been scanned in the Check In app

    • Then populate the fields in Most recent check in as follows:

      • Check in date: system date and time of scan

      • Service point: service point being used by user when item was scanned in Check in app

      • Source: Lastname, firstname middlename (with link to user profile) of user who scanned the item

  4. Scenario

    • Given the fields Check in date, Service point, and Source

    • When the item has never been scanned in the Check In app

    • Then populate the fields in Most recent check in as follows:

      • Check in date: -

      • Service point: -

      • Source: -

  5. Scenario

    • Given an item that is scanned in the Check in app resulting in a confirm check in modal

    • When the user cancels the check in

    • Then do not update the Most recent check in section of the item record.

Notes:

  • the information in the Most recent check in section should only change when the item is scanned in the check in app.

  • the information in the Most recent check in section should be updated regardless of whether a loan was closed as the result of a scan

  • Users may scan an item in the Check In app but cancel the check in after seeing a multipiece modal or a check in note. If the user cancels the check in, the Most recent check in section of the item record should not be updated.

  • Wireframe attached. Story does not include "view all status history" link or table shown in wireframe.

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Dmytro Popov October 21, 2019 at 12:26 PM

To be implemented in

Won't Do

Details

Assignee

Reporter

Labels

Priority

Development Team

Concorde

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 1, 2019 at 1:53 PM
Updated December 19, 2019 at 6:01 PM
Resolved October 21, 2019 at 12:26 PM
TestRail: Cases
TestRail: Runs