FE | Package record | Display Summary Table
Priority
Labels
Environment
None
Template
None
Description
Development Team
Spitfire
Release
None
Story Points
5
Sprint
None
Attachments
1
is cloned by
is required by
relates to
requires
Checklist
hideTestRail: Results
Activity
Show:

Khalilah Gambrell December 14, 2020 at 3:21 PM
Setting this to Done BUT I was unable to test with a non-US currency. Created a bug https://folio-org.atlassian.net/browse/UIEH-1009
cc: , , and

Khalilah Gambrell November 29, 2020 at 11:53 PM
Also this is not the best example because I thought we could not get these statistics for a package that has no titles selected.

Khalilah Gambrell November 29, 2020 at 11:51 PMEdited
, couple of things
Costs: We should only two digits after decimal .00
Costs: We need to consider rounding up
Costs: We need to support display in selected currency format as described in requirements. So in the case of USD, I would expect a comma as a 000 separator.
Total usage: We need to account for localized requirements. I would expect a comma as a 000 separator
cc:

Denys Bohdan November 25, 2020 at 2:18 PM

Khalilah Gambrell November 25, 2020 at 2:16 PM
TestRail: Cases
TestRail: Runs
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 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 returned in response or Total cost of selected titles in a package for the selected 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 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 in selected currency format (<<Currency code>> )|
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
Mockup includes additional columns % of budget, POs. and Fund codes. WE will not support/implement these columns in this story.
If no cost and usage (for a selected year) is returned for the package then do not display the table. Instead display this message: This package contains no cost or usage data for <<selected year>>.
Mockup
https://drive.google.com/file/d/1G2pH0IRMW9pZ0x7CjMVnVePRVFGwjqVT/view?usp=sharing
Acceptance Criteria
If a year is selected on a package record
Then display a summary table that includes the following information: Package cost, Total usage, Cost per use
If I view package cost
Then the cost represents the total package cost whether returned in or the sum of cost for all titles in the package
AND the display represents selected currency symbol, format, and code
If I view Total usage
Then the total usage represents total usage across all titles returned in response
AND the display aligns with selected language and localization rules
If I view cost per use
Then cost per use represents
AND the display represents selected currency symbol, format, and code
If package cost/total usage/cost per use returns no value
Then display "-"
If package cost/total usage/cost per use returns zero
Then display zero in the format specified for package cost/total usage/cost per use
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. ]