From 1e570e9b5a022e1062e4ae373b5a9dd7d1a083d2 Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 23 Feb 2024 01:19:55 +0700 Subject: [PATCH] Test --- config_panel.toml | 4 ++-- scripts/config | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.*')"%" } #=================================================