leonardo 2016-01-05 20:04:33 +00:00
parent 882ddb4ca3
commit 0c34e22d19
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
import java.math.BigDecimal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
@ -59,7 +61,7 @@ public class EditarCoeficienteTarifaController extends MyGenericForwardComposer
public void onClick$btnSalvar(Event ev) throws InterruptedException {
txtNome.getValue();
txtCoeficiente.getValue();
coeficienteTarifa.setCoeficiente(txtCoeficiente.getValueDecimal());
coeficienteTarifa.setCoeficiente(new BigDecimal(txtCoeficiente.getValue()));
if (coeficienteTarifa.getCoeficienteId() == null) {
coeficienteTarifaService.suscribir(coeficienteTarifa);