mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-11-22 08:13:20 +00:00
[CLIENT] #12 : Utilisation des nouveaus types ajoutés au commit précédent
This commit is contained in:
parent
b609661c03
commit
611eb86f07
@ -47,8 +47,11 @@ class StatScreenView implements IFXComponent {
|
|||||||
.map(field -> {
|
.map(field -> {
|
||||||
if(statistics.containsKey(field.getStr())){
|
if(statistics.containsKey(field.getStr())){
|
||||||
switch (field.getType()){
|
switch (field.getType()){
|
||||||
case SIMPLE:
|
case OTHER:
|
||||||
|
case SIMPLE_NUMBER:
|
||||||
return String.format("%s : %s", GUIStringTool.getStatisticFieldsRenderer().render(field), statistics.get(field.getStr()));
|
return String.format("%s : %s", GUIStringTool.getStatisticFieldsRenderer().render(field), statistics.get(field.getStr()));
|
||||||
|
case SIMPLE_CURRENCY:
|
||||||
|
return String.format("%s : %s€", GUIStringTool.getStatisticFieldsRenderer().render(field), statistics.get(field.getStr()));
|
||||||
default :
|
default :
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user