Revert "Merge pull request #7137 from betagouv/faster_pdf"
This reverts commit9da44bd913
, reversing changes made toebac71796c
.
This commit is contained in:
parent
e3a9c28b6e
commit
433c01b1e6
11 changed files with 37 additions and 60 deletions
|
@ -485,9 +485,8 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
|
||||
def motivation
|
||||
if termine?
|
||||
traitement&.motivation || read_attribute(:motivation)
|
||||
end
|
||||
return nil if !termine?
|
||||
traitement&.motivation || read_attribute(:motivation)
|
||||
end
|
||||
|
||||
def update_search_terms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue