mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-12-22 15:31:08 +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 -> {
|
||||
if(statistics.containsKey(field.getStr())){
|
||||
switch (field.getType()){
|
||||
case SIMPLE:
|
||||
case OTHER:
|
||||
case SIMPLE_NUMBER:
|
||||
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 :
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user