Explorar el Código

PRS DESKTOP - create new employee from user now copies over email address if present

Nick-PRSDigital@bitbucket.org hace 2 años
padre
commit
e6c1b66c28
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      prs.desktop/Panels/Users/UserGrid.cs

+ 2 - 0
prs.desktop/Panels/Users/UserGrid.cs

@@ -155,6 +155,8 @@ namespace PRSDesktop
                         {
                             Name = item.Description
                         };
+                        if(!string.IsNullOrWhiteSpace(item.EmailAddress))
+                            newEmployee.Email = item.EmailAddress;
                         newEmployee.UserLink.ID = item.ID;
                         newEmployee.UserLink.Synchronise(item);