feat: add project profitability summary.

This commit is contained in:
elforjani13
2022-08-22 19:56:27 +02:00
parent 69c4519647
commit 5c3a7effc1
25 changed files with 965 additions and 11 deletions

View File

@@ -230,3 +230,16 @@ export function toggleUnrealizedGainOrLossFilterDrawer(toggle) {
},
};
}
/**
* Toggle display of the project Profitability summary filter drawer.
* @param {boolean} toggle
*/
export function toggleProjectProfitabilitySummaryFilterDrawer(toggle) {
return {
type: `${t.PROJECT_PROFITABILITY_SUMMARY}/${t.DISPLAY_FILTER_DRAWER_TOGGLE}`,
payload: {
toggle,
},
};
}