Corregido error al editar datos del perfil de usuario (No se mostraba el
apellido).
This commit is contained in:
@@ -113,7 +113,7 @@ public class UpdateProfileMBean extends ManagedBeanBase implements Serializable
|
|||||||
this.id = pat.getId();
|
this.id = pat.getId();
|
||||||
this.cipCode = pat.getPersonalIdentificationCode();
|
this.cipCode = pat.getPersonalIdentificationCode();
|
||||||
this.name = pat.getName();
|
this.name = pat.getName();
|
||||||
this.surname = pat.getName();
|
this.surname = pat.getSurname();
|
||||||
this.nif = pat.getNif();
|
this.nif = pat.getNif();
|
||||||
this.email = pat.getEmail();
|
this.email = pat.getEmail();
|
||||||
this.currentPassword = pat.getPassword();
|
this.currentPassword = pat.getPassword();
|
||||||
@@ -124,7 +124,7 @@ public class UpdateProfileMBean extends ManagedBeanBase implements Serializable
|
|||||||
this.id = fd.getId();
|
this.id = fd.getId();
|
||||||
this.cipCode = fd.getProfessionalNumber();
|
this.cipCode = fd.getProfessionalNumber();
|
||||||
this.name = fd.getName();
|
this.name = fd.getName();
|
||||||
this.surname = fd.getName();
|
this.surname = fd.getSurname();
|
||||||
this.nif = fd.getNif();
|
this.nif = fd.getNif();
|
||||||
this.email = fd.getEmail();
|
this.email = fd.getEmail();
|
||||||
this.currentPassword = fd.getPassword();
|
this.currentPassword = fd.getPassword();
|
||||||
@@ -135,7 +135,7 @@ public class UpdateProfileMBean extends ManagedBeanBase implements Serializable
|
|||||||
this.id = sd.getId();
|
this.id = sd.getId();
|
||||||
this.cipCode = sd.getProfessionalNumber();
|
this.cipCode = sd.getProfessionalNumber();
|
||||||
this.name = sd.getName();
|
this.name = sd.getName();
|
||||||
this.surname = sd.getName();
|
this.surname = sd.getSurname();
|
||||||
this.nif = sd.getNif();
|
this.nif = sd.getNif();
|
||||||
this.email = sd.getEmail();
|
this.email = sd.getEmail();
|
||||||
this.currentPassword = sd.getPassword();
|
this.currentPassword = sd.getPassword();
|
||||||
|
|||||||
Reference in New Issue
Block a user