fixes bug #7012
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@51723 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
882ddb4ca3
commit
0c34e22d19
|
@ -1,5 +1,7 @@
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
@ -59,7 +61,7 @@ public class EditarCoeficienteTarifaController extends MyGenericForwardComposer
|
||||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
txtNome.getValue();
|
txtNome.getValue();
|
||||||
txtCoeficiente.getValue();
|
txtCoeficiente.getValue();
|
||||||
coeficienteTarifa.setCoeficiente(txtCoeficiente.getValueDecimal());
|
coeficienteTarifa.setCoeficiente(new BigDecimal(txtCoeficiente.getValue()));
|
||||||
|
|
||||||
if (coeficienteTarifa.getCoeficienteId() == null) {
|
if (coeficienteTarifa.getCoeficienteId() == null) {
|
||||||
coeficienteTarifaService.suscribir(coeficienteTarifa);
|
coeficienteTarifaService.suscribir(coeficienteTarifa);
|
||||||
|
|
Loading…
Reference in New Issue