diff --git a/config_panel.toml b/config_panel.toml index 5c62da3..3ed890e 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -70,7 +70,7 @@ readonly = true [statistics.comptes.moncycle_app_pc_compte_actif] ask.fr = "Pourcentage de comptes actifs" -type = "number" +type = "string" readonly = true [statistics.comptes.moncycle_app_nb_compte_avec_totp] @@ -85,7 +85,7 @@ readonly = true [statistics.comptes.moncycle_app_pc_compte_actif_billings] ask.fr = "Pourcentage de comptes actifs Billings" -type = "number" +type = "string" readonly = true diff --git a/scripts/config b/scripts/config index facdddf..3d8ab43 100644 --- a/scripts/config +++ b/scripts/config @@ -80,7 +80,7 @@ get__moncycle_app_nb_compte_actif(){ } get__moncycle_app_pc_compte_actif(){ - echo "$statistiques" | grep -Poi 'moncycle_app_pc_compte_actif \K.*' + echo $(echo "$statistiques" | grep -Poi 'moncycle_app_pc_compte_actif \K.*')"%" } get__moncycle_app_nb_compte_avec_totp(){ @@ -92,7 +92,7 @@ get__moncycle_app_nb_compte_actif_billings(){ } get__moncycle_app_pc_compte_actif_billings(){ - echo "$statistiques" | grep -Poi 'moncycle_app_pc_compte_actif_billings \K.*' + echo $(echo "$statistiques" | grep -Poi 'app_pc_compte_actif_billings \K.*')"%" } #=================================================