When adding a new client from a lookup, the backend should split the given string and put the first element as name, and the rest as surname.
Also it should calculate the nickname as Name S. But then next client with the same name and the same first surname letter should have two letters as the surname (Name Su) and so on.
When adding a new client from a lookup, the backend should split the given string and put the first element as name, and the rest as surname.
Also it should calculate the nickname as Name S. But then next client with the same name and the same first surname letter should have two letters as the surname (Name Su) and so on.