Display "Available balance" as a negative number when running a deficit
Description
Environment
None
Potential Workaround
None
Attachments
4
defines
relates to
Checklist
hideTestRail: Results
Activity
Show:

Dennis Bridges February 24, 2023 at 11:08 PM
Test successful in folio-snapshot.

NinaChistova February 23, 2023 at 4:27 PM
Tested on https://folio-snapshot-2.dev.folio.org/
Fixed with
Works as expected
could you please review? Thanks!

Mikita Siadykh February 13, 2023 at 2:41 PM
please review this one to understand what should be done to show correct amounts

Khamidulla Abdulkhakimov January 18, 2023 at 10:32 AMEdited
After completion I went through all scenarious and attached screenshots for each:
Scenario 1:
Scenario 2:
For group available balance is 0 but total funding is less than 0:
Scenario 3:
For ledger same situation as for group
Scenario 4:
I couldn't transfer between other fiscal years due to restriction.
cc:

Dennis Bridges November 17, 2021 at 3:19 PM
Based on grooming it sounds like this would be a BE story and require a story for mod-storage and mod-finance
Would need a separate story for backend.
Done
Details
Details
Assignee

Reporter

Tester Assignee

Labels
Priority
Story Points
0
Sprint
None
Development Team
Thunderjet
Release
Orchid (R1 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created November 16, 2021 at 8:22 PM
Updated July 21, 2023 at 3:01 PM
Resolved February 24, 2023 at 11:08 PM
TestRail: Cases
TestRail: Runs
Purpose: Seeing negative values so we can pull reports to see trends of a particular fund and determine if it needs a larger allocation or if the year was an anomaly. If the system just reports zero, it's not giving us the true amount/balance of the fund. Also If there is money available in other funds we don't know how much we need to transfer to balance the fund in question.
User story statement(s):
As a Finance app user,
I want to see the true available balance even when negative
so that I can better plan next years budget and more easily balance budgets at year end
Scenarios:
Scenario:
Given a fund has transferred or expended more than was allocated to it
When the available amount should be negative
Then the budget shows as an exact negative number in parentheses rather than 0
Scenario:
Given a group contains Funds that have negative available balances
When viewing the group summary
Then Available shows the true sum of all balances as an exact negative number in parentheses rather than 0
Scenario:
Given a Ledger contains Funds that have negative available balances
When viewing the Ledger summary
Then Available shows the true sum of all balances as an exact negative number in parentheses rather than 0
Scenario:
Given a fiscal year contains Funds that have negative available balances
When viewing the Fiscal year summary
Then Available shows the true sum of all balances as an exact negative number in parentheses rather than 0