From fd6afe4d7efff0eea69c7bc36da53eb14953e62e Mon Sep 17 00:00:00 2001 From: Kenneth Trecy Tobias Date: Mon, 7 Aug 2023 20:35:49 +0800 Subject: [PATCH] docs(blueprint): add financial statement period --- blueprint/general_requirements.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/blueprint/general_requirements.md b/blueprint/general_requirements.md index 1bb3ab47..2c73dd39 100644 --- a/blueprint/general_requirements.md +++ b/blueprint/general_requirements.md @@ -6,18 +6,24 @@ and will be implemented by the system. The requirements below must be implemented as soon as possible. 1. It can handle multiple users, but it is intended to be used by one user. 2. A user may input a currency that they would use for financial entries. -3. Available currencies are exclusive to the user who created them. It has the following implications: - 1. Same currency info may appear on multiple users. - 2. For privacy purposes, it prevents leaking the information which currencies that other users have. +3. Available currencies are exclusive to the user who created them. It has the following + implications: + 1. Same currency info may appear on multiple users. + 2. For privacy purposes, it prevents leaking the information which currencies that other users + have. 4. A currency should be archived rather than deleted if there is an associated financial entry. 5. A user may create events that are either scheduled (timeout or interval) or manually triggered. 6. A user may create an account to be associated on financial entries. 7. An account has associated currency that can only be set once. 8. An account may have multiple modifiers. -9. A modifier may be invoked after the results of other modifiers, react on an event, or manual input. +9. A modifier may be invoked after the results of other modifiers, react on an event, or manual + input. 11. An automated modifier can be one of the following operation: - - Adder - - Multiplier + - Adder + - Multiplier 12. The result of modifier has a side, either debit or credit. Therefore, it needs an opposite account too. 13. An event can be deleted as long as it has no associated modifier. +14. A user may have multiple financial statement periods. +15. Each financial statement period have associated final calculation for each account. +16. If a financial entry is within a financial statement period, it cannot be modified.