1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00
This commit is contained in:
Limezy 2024-02-23 01:19:55 +07:00
parent 5e78edb372
commit 1e570e9b5a
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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.*')"%"
}
#=================================================