Limpiamos campos después de añadir visita
This commit is contained in:
@@ -69,6 +69,12 @@ public class AddVisitMBean extends ManagedBeanBase implements Serializable {
|
||||
try {
|
||||
this.getRemoteManagerVisit().addVisit(this.patient.getId(), this.date, this.time, this.observations);
|
||||
this.addFacesMessage(FacesMessage.SEVERITY_INFO, "Visita creada", "La nueva visita se ha registrado correctamente en el sistema.");
|
||||
|
||||
this.observations = "";
|
||||
this.date=null;
|
||||
this.time=null;
|
||||
|
||||
|
||||
} catch (Exception e) {
|
||||
this.manageException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user