Skip to content

Totals component

Antoine requested to merge ZeHiro/kresus:totals-component into master

This MR aims at mutualizing code where it can be. We use in several locations (3) the "accumulated balance": balance1 € | $balance when there are several currencies, I decided to make a component to address this specific topic.

Furtheremore, there is already a getter to get all the totals per currency, so I used if.

Finally, this fixes 3 errors in the tsc run.

Edited by Antoine

Merge request reports