Commit f23a138a0f512057d264fd1b509014196f1bf969
1 parent
f0feb942
Exists in
master
Redmine #4936
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
cit-almoxarifado-web/src/main/java/br/com/centralit/controller/BeanMaterial.java
... | ... | @@ -68,6 +68,9 @@ public class BeanMaterial { |
68 | 68 | } |
69 | 69 | |
70 | 70 | public String getQtdeFornecidaStr() { |
71 | + if(qtdeFornecida == null) | |
72 | + qtdeFornecida = new BigDecimal(0); | |
73 | + | |
71 | 74 | return tipoNumerico == 1 ? ""+qtdeFornecida.intValue() : Util.convertBigDecimalToString(qtdeFornecida); |
72 | 75 | } |
73 | 76 | ... | ... |