valdevir 2016-09-29 20:27:31 +00:00
parent 4e5438b3cd
commit ca3b2be31d
1 changed files with 3 additions and 4 deletions

View File

@ -531,14 +531,13 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
}
if (puntoVenta.getDateAbertura() != null) {
dateAbertura.setValue(puntoVenta.getDateAbertura());
} else {
dateAbertura.setValue(new Date());
}
if (radAprobacionLatente.isChecked()) {
dateFechamento.setValue(puntoVenta.getDateFechamento());
rowDateFechamento.setVisible(true);
}
} else {
dateAbertura.setValue(new Date());
}
if (puntoVenta.getPuntoventaId() != null) {