git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@24525 d1611594-4594-4d17-8e1d-87c2c4800839
parent
ddd6a52fd4
commit
d9e7dbbdc2
|
@ -8,6 +8,7 @@ import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Pais;
|
import com.rjconsultores.ventaboletos.entidad.Pais;
|
||||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||||
import com.rjconsultores.ventaboletos.service.PaisService;
|
import com.rjconsultores.ventaboletos.service.PaisService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.RegistroConDependenciaException;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
@ -142,7 +143,7 @@ public class EditarEstadoController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnApagar(Event ev) {
|
public void onClick$btnApagar(Event ev) throws InterruptedException {
|
||||||
try {
|
try {
|
||||||
int resp = Messagebox.show(
|
int resp = Messagebox.show(
|
||||||
Labels.getLabel("editarEstadoController.MSG.borrarPergunta"),
|
Labels.getLabel("editarEstadoController.MSG.borrarPergunta"),
|
||||||
|
@ -162,8 +163,8 @@ public class EditarEstadoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
closeWindow();
|
closeWindow();
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (RegistroConDependenciaException ex) {
|
||||||
log.error(ex);
|
Messagebox.show(ex.getLocalizedMessage(), Labels.getLabel("editarEstadoController.window.title"), Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@ import org.zkoss.zk.ui.util.Clients;
|
||||||
import org.zkoss.zul.Button;
|
import org.zkoss.zul.Button;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Intbox;
|
import org.zkoss.zul.Intbox;
|
||||||
|
import org.zkoss.zul.Longbox;
|
||||||
import org.zkoss.zul.Textbox;
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
@ -55,6 +56,7 @@ public class EditarEstacionController extends MyGenericForwardComposer {
|
||||||
private Button btnApagar;
|
private Button btnApagar;
|
||||||
private Textbox txtDescEstacion;
|
private Textbox txtDescEstacion;
|
||||||
private Textbox txtDescMac;
|
private Textbox txtDescMac;
|
||||||
|
private Longbox txtNumCaja;
|
||||||
private Estacion estacion;
|
private Estacion estacion;
|
||||||
private MyComboboxPuntoVenta cmbPuntoVenta;
|
private MyComboboxPuntoVenta cmbPuntoVenta;
|
||||||
private Intbox txtNumEmpresa;
|
private Intbox txtNumEmpresa;
|
||||||
|
@ -113,6 +115,7 @@ public class EditarEstacionController extends MyGenericForwardComposer {
|
||||||
txtNumFilial.getValue();
|
txtNumFilial.getValue();
|
||||||
txtNumPdv.getValue();
|
txtNumPdv.getValue();
|
||||||
txtDescEstacion.getValue();
|
txtDescEstacion.getValue();
|
||||||
|
txtNumCaja.getValue();
|
||||||
|
|
||||||
String descMac = txtDescMac.getText();
|
String descMac = txtDescMac.getText();
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# <controler>. <id>. <propiedade> = XXX
|
# <controler>. <id>. <propiedade> = XXX
|
||||||
|
|
||||||
#Versao do VentaBoleto:
|
#Versao do VentaBoleto:
|
||||||
versao = ADM_20130219_1RC114
|
versao = ADM_20130220_1RC116
|
||||||
|
|
||||||
# MSG Defaut:
|
# MSG Defaut:
|
||||||
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
||||||
|
|
Loading…
Reference in New Issue