Implement FD notes updating

This commit is contained in:
dinsmol 2022-01-14 00:39:31 +03:00
parent f461388783
commit c47b093a45
6 changed files with 83 additions and 2 deletions

View file

@ -112,6 +112,7 @@ module Actions
email_changed = contact.will_save_change_to_email?
old_email = contact.email_was
contact.email_history = old_email
updated = contact.save
if updated && email_changed && contact.registrant?