Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1863

Declared Lost/Aged to Lost: BILL ACTUAL COST for lost item

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 155
    • 5
    • Vega
    • Orchid (R1 2023)

    Description

      Purpose: Bill the patron for the actual cost of a lost item.

      Story: As a staff member who charges patrons for lost items, I need to bill the patron the actual cost of an item he/she lost.

      Scenarios:

      1. Scenario
        • Given Lost items requiring actual cost open and contains contains one or more items (as shown in attached mock-up 2-lost-items-requiring-actual-costs.png)
        • When ACTION ellipsis option "Bill actual cost" selected
        • Then open Actual cost to bill <insert patron-last-name, patron-first-name patron-middle-name> modal (as shown in attached mock-up 3-actual-cost-to-bill-modal.png) with Charge fee button inactive, with these fields-
          • Fee/fine owner pre-populated and un-editable
          • Fee/fine type pre-populated and un-editable
          • Actual cost to bill patron required field that is blank, with 2 decimal places
          • Additional information for staff non-required field that is set to the default of -
          • Additional information for patron non-required field that is set to the default of -
      2. Scenario
        • Given Actual cost to bill <insert patron-last-name, patron-first-name patron-middle-name> modal open
        • When Cancel button pressed
        • Then close Actual cost to bill <insert patron-last-name, patron-first-name patron-middle-name> modal, leaving user back at Lost items requiring actual cost
      3. Scenario
        • Given Actual cost to bill <insert patron-last-name, patron-first-name patron-middle-name> modal open
        • When Actual cost to bill patron 0.00 to 9999.99
        • Then activate Continue button
      4. Scenario
        • Given Actual cost to bill <insert patron-last-name, patron-first-name patron-middle-name> modal Continue button active
        • When Continue button pressed
        • Then display Confirm actual cost to bill patron modal (as shown in attached mock-up 4-modal-confirm.png), with these fields-
          • A fee/fine of <insert amount> will be charged to <insert patron-last-name, patron-first-name patron-middle-name>.
          • Additional information for staff pre-populated (if provided) and un-editable
          • Additional information for patron pre-populated (if provided) and un-editable
      5. Scenario
        • Given Confirm actual cost to bill patron modal open
        • When Cancel button pressed
        • Then close Confirm actual cost to bill patron,leaving patron back at Actual cost to bill <insert patron-last-name, patron-first-name patron-middle-name> modal, with these fields-
          • Fee/fine owner pre-populated and un-editable
          • Fee/fine type pre-populated and un-editable
          • Actual cost to bill patron required field containing what was previously entered by the user
          • Additional information for staff optional field containing what was previously entered by the user, if anything
          • Additional information for patron optional field containing what was previously entered by the user, if anything
      6. Scenario
        • Given Confirm actual cost to bill patron modal open
        • When Confirm button pressed and another user has not edited the record
        • Then...
          • Save the fee/fine record and the fee/fine action record (as described in CIRC-1538)
          • Close Confirm actual cost to bill patron modal, leaving user back at Lost items requiring actual cost
          • Display 'Success toast': A fee/fine of <insert amount> has been charged to <insert patron-last-name, patron-first-name patron-middle-name> (as shown in attached mock-up 5-fee-charge-success.png)
          • Add Billed: <billed amount> in the Actions column((above ellipsis, as shown in attached mock-up 5-fee-charge-success.png)
          • Gray out "Bill actual cost" and "Do not bill" options from the ACTIONS ellipsis menu
      7. Scenario
        • Given Confirm actual cost to bill patron modal open
        • When Confirm button pressed and another user has edited the record
        • Then...
          • Close Confirm actual cost to bill patron modal, leaving user back at Lost items requiring actual cost
          • Display 'Error toast': <insert patron-last-name, patron-first-name patron-middle-name> has already been billed for this item by another user
          • Add Error in the Actions column (above ellipsis)
          • Gray out 'Bill actual cost' and "Do not bill" ellipsis options in the Actions column

      TestRail: Results

        Attachments

          1. 10-do-not-bill-confirm.png
            10-do-not-bill-confirm.png
            144 kB
          2. 11-do-not-bill-success.png
            11-do-not-bill-success.png
            143 kB
          3. 1-users-actions-updated.png
            1-users-actions-updated.png
            104 kB
          4. 2-lost-items-requiring-actual-costs.png
            2-lost-items-requiring-actual-costs.png
            153 kB
          5. 3-actual-cost-to-bill-modal.png
            3-actual-cost-to-bill-modal.png
            134 kB
          6. 4-modal-confirm.png
            4-modal-confirm.png
            143 kB
          7. 5-fee-charge-success.png
            5-fee-charge-success.png
            142 kB
          8. 6-show-long-title.png
            6-show-long-title.png
            150 kB
          9. 8-do-not-bill.png
            8-do-not-bill.png
            153 kB
          10. 9-do-not-bill-modal.png
            9-do-not-bill-modal.png
            138 kB

          Issue Links

            Activity

              People

                Artem_Blazhko Artem Blazhko
                hollyolepm Holly Mistlebauer
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases