amelioration(bulk_messages): ETQ instructeur, je peux envoyer un message aux usagers ayant un dossier en brouillon
This commit is contained in:
parent
764f19d11a
commit
425d8867be
12 changed files with 145 additions and 111 deletions
|
@ -541,6 +541,7 @@ module Users
|
|||
|
||||
def update_dossier_and_compute_errors
|
||||
errors = []
|
||||
|
||||
@dossier.assign_attributes(champs_public_params)
|
||||
if @dossier.champs_public_all.any?(&:changed_for_autosave?)
|
||||
@dossier.last_champ_updated_at = Time.zone.now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue