We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2faf833 commit 57b1386Copy full SHA for 57b1386
1 file changed
app/models/vaccination_record.rb
@@ -309,11 +309,7 @@ def recalculate_next_dose_delay_triage_date
309
end
310
311
def should_generate_important_notice?
312
- if id_previously_changed? # new_record? is not available in after_save
313
- !notify_parents # important notices are only generated if this is false
314
- else
315
- notify_parents_previously_changed?
316
- end
+ notify_parents_previously_changed?
317
318
319
def generate_important_notice_if_needed
0 commit comments