diff --git a/src/components/MonthPresentation.vue b/src/components/MonthPresentation.vue
index 2402eca..631005e 100644
--- a/src/components/MonthPresentation.vue
+++ b/src/components/MonthPresentation.vue
@@ -17,7 +17,7 @@
-
- {{ TheMonth.[cara.name] ?? "∅"}} {{cara.unit}}
+ {{ cara.output(TheMonth) ?? "∅"}} {{cara.unit}}
-
diff --git a/src/store/config/index.js b/src/store/config/index.js
index 4f05503..a9cd4a0 100644
--- a/src/store/config/index.js
+++ b/src/store/config/index.js
@@ -18,6 +18,7 @@ const config = {
name: 'caTheo',
unit: '€',
hightlight: true,
+ output: month => month.caTheo,
},
{
color: '',
@@ -26,6 +27,7 @@ const config = {
name: 'caRetro',
unit: '€',
hightlight: false,
+ output: month => month.caRetro,
},
{
color: '',
@@ -34,6 +36,7 @@ const config = {
name: 'caReact',
unit: '€',
hightlight: true,
+ output: month => month.caReact,
},
{
color: '',
@@ -42,6 +45,7 @@ const config = {
name: 'sessionQty',
unit: '',
hightlight: false,
+ output: month => month.sessionQty,
},
{
color: '',
@@ -50,6 +54,7 @@ const config = {
name: 'retro',
unit: '€',
hightlight: false,
+ output: month => month.retro,
},
{
color: '',
@@ -58,6 +63,7 @@ const config = {
name: 'remuneration',
unit: '€',
hightlight: true,
+ output: month => month.remuneration,
},
{
color: '',
@@ -66,6 +72,7 @@ const config = {
name: 'proPercentage',
unit: '%',
hightlight: false,
+ output: month => month.proPercentage,
},
],
}