[#1203] Allow filtering tags based on an arbitray status
This commit is contained in:
parent
1282fc2113
commit
9f7ffddb31
9 changed files with 40 additions and 35 deletions
|
@ -11,6 +11,7 @@ class AttestationTemplate < ApplicationRecord
|
|||
validates :footer, length: { maximum: 190 }
|
||||
|
||||
FILE_MAX_SIZE_IN_MB = 0.5
|
||||
DOSSIER_STATE = 'accepte'
|
||||
|
||||
def attestation_for(dossier)
|
||||
Attestation.new(title: replace_tags(title, dossier), pdf: build_pdf(dossier))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue