Actions
Feature #30
openFeature #29: Statistics
[Technical] Statistics
Start date:
03/07/2026
Due date:
% Done:
0%
Estimated time:
Description
The following logic to be applied:
- The system retrieves all activities of this user by name
- The system retrieves all activity records of this user (Activity & Amount)
- The activity records are parsed by the system:
- For each activity, the positive entries are summed up -> Consumed
- For each activity, the negative entries are summed up -> Paid (transformed to positive value)
- For each activity, the difference between the two values above (Consumed - Paid) is calculated -> Remaining (positive) / To be paid (negative)
Actions