BE Package record | Display Summary Table

Priority

Environment

None

Template

None

Description

As a collection development librarian
I want to view a summary of cost and usage information
So that I can quickly assess package cost/usage details

Requirement

  • Once a fiscal year is selected then a summary table should display on a package record with the following information
    ||Column header||Details||Display format||
    |Package cost|Total cost of package or Total cost of selected titles in a package for the selected fiscal year| <<currency symbol>> Total package cost in selected currency format (<<Currency code>> )|
    |Total usage|total usage for all selected titles in package for the selected fiscal year |display as number must comply to selected language/localization rules|
    |Cost per use|Package cost divided by Total Usage| <<currency symbol>> Cost per use (<<Currency code>> )|
    |Actions|Allow users to export titles|Under Actions menu display the following option - Export titles|

  • If no value is returned then display "-"

  • If zero value is returned then display "0" in the format specified in the applicable Display format column

Screenshot

https://drive.google.com/drive/folders/1yQdqZymj8UQ1iLOtcEYX67kYm0DZVkJV

Acceptance Criteria

If a fiscal year is selected on a package record

The response should return this information to populate the summary table: Package cost, Total usage, Cost per use

Given cost is entered for each title+package
When package cost is returned in the response
Then it should represent the total package cost whether it is a package cost or the sum of cost for all titles in the package, or provide a way for the front end to calculate the sum of cost for all titles in the package

Given package cost, total usage, cost per use information is not returned in the response due to an error
Then return an error message [Unable to provide summary information. ]

Development Team

Spitfire

Release

None

Story Points

Sprint

Checklist

hide

TestRail: Results

Activity

Show:

Dima Tkachenko September 24, 2020 at 10:55 AM
Edited


This is more a FE story. The requirements will be supported by BE once the following stories implemented:

Duplicate

Details

Assignee

Reporter

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 27, 2020 at 6:42 PM
Updated September 24, 2020 at 12:31 PM
Resolved September 24, 2020 at 12:31 PM
TestRail: Cases
TestRail: Runs