With this story, a front end user will be able to view a charge's active timeline based on a given date and time. By default now is used, but the user will be able to change the date and time values. Changing this may alter the timeline data shown, depending historical data/states registered for the given charge.
A charge's active timeline, consists of information related data, both non-changeable values as well as the data from the periods currently part of the charge's timeline
A simple example:
01/01/2022 08:02 AM: ChargeA is created with Name: "Name A" with effective date: 01/02/2022
01/01/2022 08:15 AM: ChargeA is updated with Name: "Name B" with effective date: 01/02/2022
03/01/2022 10:00 PM: ChargeA is updated with Name: "Name C" with effective date: 01/03/2022
User input: Date
User input: Time
Initial Period
Period n
01/01/2022
08:00 AM
01/01/2022
08:02 AM
ChargeA, Name A, 01/02/2022
01/01/2022
08:15 AM
ChargeA, Name B, 01/02/2022
03/01/2022
10:00 PM
ChargeA, Name B, 01/02/2022
ChargeA, Name C. 01/03/2022
Acceptance criteria
[ ] 1 Given a front end user is viewing a Charge's History
When the user changes the date and/or time (earlier or future)
Then the data displayed corresponds to the Charge's timeline as it was (back in time) or will be (in the future) per the selected date and time values.
With this story, a front end user will be able to view a charge's active timeline based on a given date and time. By default now is used, but the user will be able to change the date and time values. Changing this may alter the timeline data shown, depending historical data/states registered for the given charge.
A charge's active timeline, consists of information related data, both non-changeable values as well as the data from the periods currently part of the charge's timeline
A simple example:
Acceptance criteria