fixes bug #7982
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@60933 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4e5438b3cd
commit
ca3b2be31d
|
@ -531,14 +531,13 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
if (puntoVenta.getDateAbertura() != null) {
|
if (puntoVenta.getDateAbertura() != null) {
|
||||||
dateAbertura.setValue(puntoVenta.getDateAbertura());
|
dateAbertura.setValue(puntoVenta.getDateAbertura());
|
||||||
} else {
|
|
||||||
dateAbertura.setValue(new Date());
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (radAprobacionLatente.isChecked()) {
|
if (radAprobacionLatente.isChecked()) {
|
||||||
dateFechamento.setValue(puntoVenta.getDateFechamento());
|
dateFechamento.setValue(puntoVenta.getDateFechamento());
|
||||||
rowDateFechamento.setVisible(true);
|
rowDateFechamento.setVisible(true);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
dateAbertura.setValue(new Date());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (puntoVenta.getPuntoventaId() != null) {
|
if (puntoVenta.getPuntoventaId() != null) {
|
||||||
|
|
Loading…
Reference in New Issue