Feat: use output function for month description
This commit is contained in:
@@ -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,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user