mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Test
This commit is contained in:
parent
5e78edb372
commit
1e570e9b5a
2 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ readonly = true
|
||||||
|
|
||||||
[statistics.comptes.moncycle_app_pc_compte_actif]
|
[statistics.comptes.moncycle_app_pc_compte_actif]
|
||||||
ask.fr = "Pourcentage de comptes actifs"
|
ask.fr = "Pourcentage de comptes actifs"
|
||||||
type = "number"
|
type = "string"
|
||||||
readonly = true
|
readonly = true
|
||||||
|
|
||||||
[statistics.comptes.moncycle_app_nb_compte_avec_totp]
|
[statistics.comptes.moncycle_app_nb_compte_avec_totp]
|
||||||
|
@ -85,7 +85,7 @@ readonly = true
|
||||||
|
|
||||||
[statistics.comptes.moncycle_app_pc_compte_actif_billings]
|
[statistics.comptes.moncycle_app_pc_compte_actif_billings]
|
||||||
ask.fr = "Pourcentage de comptes actifs Billings"
|
ask.fr = "Pourcentage de comptes actifs Billings"
|
||||||
type = "number"
|
type = "string"
|
||||||
readonly = true
|
readonly = true
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ get__moncycle_app_nb_compte_actif(){
|
||||||
}
|
}
|
||||||
|
|
||||||
get__moncycle_app_pc_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(){
|
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(){
|
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.*')"%"
|
||||||
}
|
}
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue